summaryrefslogtreecommitdiff
path: root/src/emap/init.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/emap/init.c')
-rw-r--r--src/emap/init.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/emap/init.c b/src/emap/init.c
index cb14450..0082bd8 100644
--- a/src/emap/init.c
+++ b/src/emap/init.c
@@ -48,6 +48,7 @@
#include "emap/battleground.h"
#include "emap/clif.h"
#include "emap/config.h"
+#include "emap/console.h"
#include "emap/craft.h"
#include "emap/craftconf.h"
#include "emap/hashtable.h"
@@ -96,6 +97,8 @@ HPExport void plugin_init (void)
addAtcommand("mapexit", mapExit);
addAtcommand("serverexit", serverExit);
+ addCPCommand("serverexit", serverExit);
+
addScriptCommand("chatjoin", "i*", chatJoin);
addScriptCommand("setcamnpc", "*", setCamNpc);
addScriptCommand("setcam", "ii", setCam);