diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-24 01:42:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-24 01:42:41 +0300 |
commit | 5b03a091589806dd2250db646b7739f09e55d424 (patch) | |
tree | da7d5f0f281560c7ef31bff779a35c1bbd296dc2 /src/actions/commands.cpp | |
parent | 398e7e04c6232d2076a44040548cbc88497a155b (diff) | |
download | plus-5b03a091589806dd2250db646b7739f09e55d424.tar.gz plus-5b03a091589806dd2250db646b7739f09e55d424.tar.bz2 plus-5b03a091589806dd2250db646b7739f09e55d424.tar.xz plus-5b03a091589806dd2250db646b7739f09e55d424.zip |
Add chat command for gm /mobsearch
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 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 |