diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-25 20:25:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-25 20:25:03 +0300 |
commit | 64a067458ea169b9ff5b9a78ed1a011da86e8bdf (patch) | |
tree | 0bae841148a69a2bd160b914d3d17ed0b4ac3421 /src/actions/commands.cpp | |
parent | 704b5b31fea63483c81f0744d88e46a856573424 (diff) | |
download | manaverse-64a067458ea169b9ff5b9a78ed1a011da86e8bdf.tar.gz manaverse-64a067458ea169b9ff5b9a78ed1a011da86e8bdf.tar.bz2 manaverse-64a067458ea169b9ff5b9a78ed1a011da86e8bdf.tar.xz manaverse-64a067458ea169b9ff5b9a78ed1a011da86e8bdf.zip |
Add chat command /killable. Also add it to player context menu.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r-- | src/actions/commands.cpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index 6c7cb1d8f..426c89da7 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -1402,4 +1402,10 @@ impHandler(commandKiller) return true; } +impHandler(commandKillable) +{ + adminHandler->killable(event.args); + return true; +} + } // namespace Actions |