diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-09-05 02:13:29 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-09-05 02:13:29 +0300 |
commit | dc706af3765b75330e4e7c557ea3e4cf1f119631 (patch) | |
tree | 183a32a615ba1b2d8450474cfc829828bc5831de /src/actions | |
parent | 92232a86a44bd31701f0f7957a46f40e89ef4b92 (diff) | |
download | manaverse-dc706af3765b75330e4e7c557ea3e4cf1f119631.tar.gz manaverse-dc706af3765b75330e4e7c557ea3e4cf1f119631.tar.bz2 manaverse-dc706af3765b75330e4e7c557ea3e4cf1f119631.tar.xz manaverse-dc706af3765b75330e4e7c557ea3e4cf1f119631.zip |
Add option for enable manamarket intergration and support /mail command. (for tmw only).
But because bot limitation, only some players can send mails.
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/commands.cpp | 5 |
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; } |