From 0b861120e4496f64c8014c7f7b3d0a8938cc7d51 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 14 Jan 2015 18:33:59 +0300 Subject: Add support for #gm channel for gm tab. In legacy servers it will use @wgm as before. --- src/net/tmwa/chathandler.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/net') 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 -- cgit v1.2.3-60-g2f50