diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-05-25 23:04:04 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-05-25 23:04:04 +0300 |
commit | 3711139801743b0bcc20384e35903a4581fe6b7a (patch) | |
tree | a5724d505ae2cf297229832e994849d02278c9ae /src/actions/commands.cpp | |
parent | ee82a8e3ca61d176e52078f8326d92e2220af2d0 (diff) | |
download | mv-3711139801743b0bcc20384e35903a4581fe6b7a.tar.gz mv-3711139801743b0bcc20384e35903a4581fe6b7a.tar.bz2 mv-3711139801743b0bcc20384e35903a4581fe6b7a.tar.xz mv-3711139801743b0bcc20384e35903a4581fe6b7a.zip |
Add chat command for check player ip.
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 81f40697b..53c1f4fd0 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -1456,6 +1456,15 @@ impHandler(commandRecallPc) return true; } +impHandler(commandIpCheck) +{ + const std::string args = event.args; + if (args.empty()) + return false; + adminHandler->ipcheckName(args); + return true; +} + impHandler(commandKiller) { adminHandler->killer(event.args); |