mirror of
https://github.com/EQEmu/Server.git
synced 2026-06-11 15:58:36 +00:00
[GM Commands] Split GM Commands Into Separate Files (#1766)
* Split GM commands into their own files * Code cleanup
This commit is contained in:
Executable
+11
@@ -0,0 +1,11 @@
|
||||
#include "../client.h"
|
||||
#include "../../common/patches/patches.h"
|
||||
|
||||
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");
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user