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 1bc922a1f..ab9a8dda7 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -1450,4 +1450,10 @@ impHandler(commandNuke)
return true;
}
+impHandler(commandKill)
+{
+ adminHandler->kill(event.args);
+ return true;
+}
+
} // namespace Actions
diff --git a/src/actions/commands.h b/src/actions/commands.h
index f6d8a70e5..ac7ff1ca7 100644
--- a/src/actions/commands.h
+++ b/src/actions/commands.h
@@ -128,6 +128,7 @@ namespace Actions
decHandler(commandImmortal);
decHandler(commandHide);
decHandler(commandNuke);
+ decHandler(commandKill);
} // namespace Actions
#undef decHandler