summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-25 23:04:04 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-25 23:04:04 +0300
commit3711139801743b0bcc20384e35903a4581fe6b7a (patch)
treea5724d505ae2cf297229832e994849d02278c9ae /src/actions/commands.cpp
parentee82a8e3ca61d176e52078f8326d92e2220af2d0 (diff)
downloadplus-3711139801743b0bcc20384e35903a4581fe6b7a.tar.gz
plus-3711139801743b0bcc20384e35903a4581fe6b7a.tar.bz2
plus-3711139801743b0bcc20384e35903a4581fe6b7a.tar.xz
plus-3711139801743b0bcc20384e35903a4581fe6b7a.zip
Add chat command for check player ip.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r--src/actions/commands.cpp9
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);