From 9bc12d91bb8d149ea49db42bdfb62781081457c8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 25 Feb 2016 23:19:40 +0300 Subject: Add chat command /kill. Also add it to player context menu. --- src/actions/commands.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'src/actions/commands.cpp') 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 -- cgit v1.2.3-60-g2f50