[Commands] Cleanup #rules Command. (#2593)

* [Commands] Cleanup #rules Command.

- Cleanup messages and logic.
- Rewrite all rules logic to use `std::string` and repositories.

* References

* Update rules.cpp

* Strings::Equal and Strings::EqualFold.

* Cleanup.

* Update rulesys.cpp

* Update rulesys.cpp

Co-authored-by: Akkadius <akkadius1@gmail.com>
This commit is contained in:
Alex King
2022-12-10 18:08:55 -05:00
committed by GitHub
parent 3872555332
commit b1c4e7c23f
10 changed files with 926 additions and 632 deletions
+1 -1
View File
@@ -11837,7 +11837,7 @@ bool Client::SendGMCommand(std::string message, bool ignore_status) {
void Client::RegisterBug(BugReport_Struct* r) {
if (!r) {
return;
};
}
auto b = BugReportsRepository::NewEntity();