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