diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-25 22:43:25 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-25 22:43:25 +0300 |
commit | ee82a8e3ca61d176e52078f8326d92e2220af2d0 (patch) | |
tree | beeef611c4b41dc056663126f6abb50dde91ef38 /src/actions/commands.cpp | |
parent | 0f49c02c2813ce853a7699b673103c8ef5edc05d (diff) | |
download | ManaVerse-ee82a8e3ca61d176e52078f8326d92e2220af2d0.tar.gz ManaVerse-ee82a8e3ca61d176e52078f8326d92e2220af2d0.tar.bz2 ManaVerse-ee82a8e3ca61d176e52078f8326d92e2220af2d0.tar.xz ManaVerse-ee82a8e3ca61d176e52078f8326d92e2220af2d0.zip |
Add chat command for recall player.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r-- | src/actions/commands.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index 08c1fcbba..81f40697b 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -1447,6 +1447,15 @@ impHandler(commandGotoPc) return true; } +impHandler(commandRecallPc) +{ + const std::string args = event.args; + if (args.empty()) + return false; + adminHandler->recallName(args); + return true; +} + impHandler(commandKiller) { adminHandler->killer(event.args); |