summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/commands.cpp9
-rw-r--r--src/actions/commands.h1
2 files changed, 10 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);
diff --git a/src/actions/commands.h b/src/actions/commands.h
index 24860b8f2..5d6e7ce58 100644
--- a/src/actions/commands.h
+++ b/src/actions/commands.h
@@ -125,6 +125,7 @@ namespace Actions
decHandler(commandGotoNpc);
decHandler(commandGotoPc);
decHandler(commandRecallPc);
+ decHandler(commandIpCheck);
decHandler(commandKiller);
decHandler(commandKillable);
decHandler(commandHeal);