summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-03-18 13:49:30 +0300
committerAndrei Karas <akaras@inbox.ru>2014-03-18 13:49:30 +0300
commitb25682842931ba1414a8c83d8353eb24c7203f92 (patch)
tree5756f49325095a860fae02e7b5f291620e25c9e3 /src/commands.cpp
parentbe1e878453d984584f11587cbba8bb4b223f9943 (diff)
downloadplus-b25682842931ba1414a8c83d8353eb24c7203f92.tar.gz
plus-b25682842931ba1414a8c83d8353eb24c7203f92.tar.bz2
plus-b25682842931ba1414a8c83d8353eb24c7203f92.tar.xz
plus-b25682842931ba1414a8c83d8353eb24c7203f92.zip
Add /gm chat command.
It send message to all online gms.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index 0cc5cee8a..cb40d1a99 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -1270,6 +1270,10 @@ impHandler1(talkPet)
Net::getChatHandler()->talk(args, GENERAL_CHANNEL);
}
+impHandler1(gm)
+{
+ Net::getChatHandler()->talk("@wgm " + args, GENERAL_CHANNEL);
+}
struct UploadChatInfo
{