rewrite chat command system

This commit is contained in:
Martin Michelsen
2025-01-12 16:27:02 -08:00
parent b028532db3
commit 9033fb6a5d
10 changed files with 2615 additions and 2622 deletions
+1 -1
View File
@@ -3538,7 +3538,7 @@ static void on_06(shared_ptr<Client> c, uint16_t, uint32_t, string& data) {
if (text[1] == command_sentinel) {
text = text.substr(1);
} else {
on_chat_command(c, text);
on_chat_command(c, text, true);
return;
}
}