summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-24 00:35:23 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-24 00:35:23 +0300
commit9208926ca3f162102c08b8e5331f5a1c38681d4f (patch)
tree05dda363ac2288c444691b889cac87a84e67d00e /src/actions/commands.cpp
parent7eabdd0b8c8281128249659c4d8e8501c10da66e (diff)
downloadplus-9208926ca3f162102c08b8e5331f5a1c38681d4f.tar.gz
plus-9208926ca3f162102c08b8e5331f5a1c38681d4f.tar.bz2
plus-9208926ca3f162102c08b8e5331f5a1c38681d4f.tar.xz
plus-9208926ca3f162102c08b8e5331f5a1c38681d4f.zip
Add gm chat command /whodrops
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 2e7252985..2eec5c392 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -1236,4 +1236,13 @@ impHandler(itemInfo)
return true;
}
+impHandler(whoDrops)
+{
+ const std::string args = event.args;
+ if (args.empty())
+ return false;
+ adminHandler->whoDrops(args);
+ return true;
+}
+
} // namespace Actions