From b25682842931ba1414a8c83d8353eb24c7203f92 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 18 Mar 2014 13:49:30 +0300 Subject: Add /gm chat command. It send message to all online gms. --- src/commands.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/commands.cpp') 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 { -- cgit v1.2.3-60-g2f50