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
@@ -1954,7 +1954,7 @@ static HandlerResult C_06(shared_ptr<ProxyServer::LinkedSession> ses, uint16_t,
send_chat_message_from_client(ses->server_channel, text.substr(1), private_flags);
return HandlerResult::Type::SUPPRESS;
} else {
on_chat_command(ses, text);
on_chat_command(ses, text, true);
return HandlerResult::Type::SUPPRESS;
}