diff options
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/commands.cpp | 9 | ||||
-rw-r--r-- | src/actions/commands.h | 1 |
2 files changed, 10 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); diff --git a/src/actions/commands.h b/src/actions/commands.h index ed4deb9f5..24860b8f2 100644 --- a/src/actions/commands.h +++ b/src/actions/commands.h @@ -124,6 +124,7 @@ namespace Actions decHandler(commandRandomWarp); decHandler(commandGotoNpc); decHandler(commandGotoPc); + decHandler(commandRecallPc); decHandler(commandKiller); decHandler(commandKillable); decHandler(commandHeal); |