[Strings] Refactor Strings Usage (#2305)

* Initial commit checkpoint

* More functions converted

* Commify

* More functions

* Fin

* Sort declarations

* Split functions between files

* Bots

* Update strings.h

* Split

* Revert find replaces

* Repository template

* Money

* Misc function

* Update CMakeLists.txt

* Saylink

* Update strings.cpp

* Swap Strings::Saylink for Saylink::Create since saylink is coupled to zone database

* API casings
This commit is contained in:
Chris Miles authored and GitHub committed 2022-07-14 02:10:52 -05:00
1 parent 44c85a0dd7
commit dfd8f84cac
573 files changed
+5197 -5137

No files matched your search

+1 -1
View File
@@ -58,7 +58,7 @@ void command_suspend(Client *c, const Seperator *sep)
std::string query = StringFormat(
"UPDATE `account` SET `suspendeduntil` = DATE_ADD(NOW(), INTERVAL %i DAY), "
"suspend_reason = '%s' WHERE `id` = %i",
duration, EscapeString(message).c_str(), accountID
duration, Strings::Escape(message).c_str(), accountID
);
auto results = database.QueryDatabase(query);