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 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
diff --git a/src/actions/commands.h b/src/actions/commands.h
index 4378e2127..07b5dda2e 100644
--- a/src/actions/commands.h
+++ b/src/actions/commands.h
@@ -100,6 +100,7 @@ namespace Actions
decHandler(monsterInfo);
decHandler(itemInfo);
decHandler(whoDrops);
+ decHandler(mobSearch);
} // namespace Actions
#undef decHandler