enable item tracking on NTE and 11/2000 and make $item work

This commit is contained in:
Martin Michelsen
2023-12-16 17:44:17 -08:00
parent 74604788c9
commit f14f7dd93b
10 changed files with 466 additions and 469 deletions
+3
View File
@@ -1870,6 +1870,9 @@ struct SplitCommand {
// command, and to execute the command and block the chat if it is.
void on_chat_command(std::shared_ptr<Client> c, const std::string& text) {
SplitCommand cmd(text);
if (!cmd.name.empty() && cmd.name[0] == '@') {
cmd.name[0] = '$';
}
const ChatCommandDefinition* def = nullptr;
try {