summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/commands.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index 0a8ef91ba..0f34689ee 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -518,6 +518,11 @@ impHandler(imitation)
impHandler0(sendMail)
{
// +++ need impliment for hercules
+ if (serverConfig.getBoolValue("enableManaMarketBot"))
+ {
+ chatHandler->privateMessage("ManaMarket", "!mail " + event.args);
+ return true;
+ }
return false;
}