summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-24 01:42:03 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-24 01:42:41 +0300
commit5b03a091589806dd2250db646b7739f09e55d424 (patch)
treeda7d5f0f281560c7ef31bff779a35c1bbd296dc2 /src/actions/commands.cpp
parent398e7e04c6232d2076a44040548cbc88497a155b (diff)
downloadmanaverse-5b03a091589806dd2250db646b7739f09e55d424.tar.gz
manaverse-5b03a091589806dd2250db646b7739f09e55d424.tar.bz2
manaverse-5b03a091589806dd2250db646b7739f09e55d424.tar.xz
manaverse-5b03a091589806dd2250db646b7739f09e55d424.zip
Add chat command for gm /mobsearch
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 2eec5c392..2adef54ca 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -1245,4 +1245,13 @@ impHandler(whoDrops)
return true;
}
+impHandler(mobSearch)
+{
+ const std::string args = event.args;
+ if (args.empty())
+ return false;
+ adminHandler->mobSearch(args);
+ return true;
+}
+
} // namespace Actions