summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/commands.cpp6
-rw-r--r--src/actions/commands.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index 13bb0b622..6c7cb1d8f 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -1396,4 +1396,10 @@ impHandler(commandGotoNpc)
return true;
}
+impHandler(commandKiller)
+{
+ adminHandler->killer(event.args);
+ return true;
+}
+
} // namespace Actions
diff --git a/src/actions/commands.h b/src/actions/commands.h
index f1dc28356..9328f1d2c 100644
--- a/src/actions/commands.h
+++ b/src/actions/commands.h
@@ -120,6 +120,7 @@ namespace Actions
decHandler(commandLoadPosition);
decHandler(commandRandomWarp);
decHandler(commandGotoNpc);
+ decHandler(commandKiller);
} // namespace Actions
#undef decHandler