summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/commands.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index cdb1fa69c..ebb472130 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -69,6 +69,7 @@
#include "utils/chatutils.h"
#include "utils/gettext.h"
+#include "utils/gmfunctions.h"
#include "utils/process.h"
#include "debug.h"
@@ -805,7 +806,7 @@ impHandler(gm)
{
if (chatHandler)
{
- chatHandler->talk("@wgm " + event.args, GENERAL_CHANNEL);
+ Gm::runCommand("wgm", event.args);
return true;
}
return false;