diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-01-14 18:33:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-01-14 18:33:59 +0300 |
commit | 0b861120e4496f64c8014c7f7b3d0a8938cc7d51 (patch) | |
tree | 095bc7b9b9d50fc56b1fd3b2b19696d17780578e /src/net | |
parent | f86221f5fe1bc54b3e643169d510b01f991e5f04 (diff) | |
download | manaplus-0b861120e4496f64c8014c7f7b3d0a8938cc7d51.tar.gz manaplus-0b861120e4496f64c8014c7f7b3d0a8938cc7d51.tar.bz2 manaplus-0b861120e4496f64c8014c7f7b3d0a8938cc7d51.tar.xz manaplus-0b861120e4496f64c8014c7f7b3d0a8938cc7d51.zip |
Add support for #gm channel for gm tab.
In legacy servers it will use @wgm as before.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/tmwa/chathandler.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/net/tmwa/chathandler.cpp b/src/net/tmwa/chathandler.cpp index a48aa5426..866a0be63 100644 --- a/src/net/tmwa/chathandler.cpp +++ b/src/net/tmwa/chathandler.cpp @@ -170,6 +170,8 @@ void ChatHandler::channelMessage(const std::string &restrict channel, { if (channel == TRADE_CHANNEL) talk("\302\202" + text, GENERAL_CHANNEL); + else if (channel == GM_CHANNEL) + talk("@wgm " + text, GENERAL_CHANNEL); } void ChatHandler::who() const |