[Commands] Cleanup #opcode Command. (#2547)

* [Commands] Cleanup #opcode Command.

- Cleanup logic.

* Update command.cpp
This commit is contained in:
Kinglykrab
2022-11-16 09:30:35 -05:00
committed by GitHub
parent 730cd3f28a
commit 93d8471487
2 changed files with 3 additions and 5 deletions
+2 -4
View File
@@ -3,9 +3,7 @@
void command_opcode(Client *c, const Seperator *sep)
{
if (!strcasecmp(sep->arg[1], "reload")) {
ReloadAllPatches();
c->Message(Chat::White, "Opcodes for all patches have been reloaded");
}
ReloadAllPatches();
c->Message(Chat::White, "Opcodes for all patches have been reloaded");
}