summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/commands.cpp7
-rw-r--r--src/actions/commands.h1
2 files changed, 8 insertions, 0 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index 63939c1da..e0514f902 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -71,6 +71,7 @@
#include "gui/widgets/tabs/whispertab.h"
#include "net/adminhandler.h"
+#include "net/chathandler.h"
#include "net/guildhandler.h"
#include "net/pethandler.h"
#include "net/net.h"
@@ -656,4 +657,10 @@ impHandler(testParticle)
return false;
}
+impHandler(talkRaw)
+{
+ Net::getChatHandler()->talkRaw(event.args);
+ return true;
+}
+
} // namespace Actions
diff --git a/src/actions/commands.h b/src/actions/commands.h
index d74e8fef8..db0c6eb5e 100644
--- a/src/actions/commands.h
+++ b/src/actions/commands.h
@@ -66,6 +66,7 @@ namespace Actions
decHandler(disableAway);
decHandler(enableAway);
decHandler(testParticle);
+ decHandler(talkRaw);
} // namespace Actions
#undef decHandler