From dc706af3765b75330e4e7c557ea3e4cf1f119631 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 5 Sep 2015 02:13:29 +0300 Subject: Add option for enable manamarket intergration and support /mail command. (for tmw only). But because bot limitation, only some players can send mails. --- src/actions/commands.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/actions') 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; } -- cgit v1.2.3-70-g09d2