summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-27 16:09:15 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-27 16:09:15 +0300
commit32ec83a137def94dbea627350f0318c21afbbc09 (patch)
tree97bccb560409702d7ecb74d12579946e3a75dd13 /src/actions/commands.cpp
parentfc2514926927b709dd59325e83b7da9fd10fa36e (diff)
downloadplus-32ec83a137def94dbea627350f0318c21afbbc09.tar.gz
plus-32ec83a137def94dbea627350f0318c21afbbc09.tar.bz2
plus-32ec83a137def94dbea627350f0318c21afbbc09.tar.xz
plus-32ec83a137def94dbea627350f0318c21afbbc09.zip
Move chat command /talkraw into actions.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r--src/actions/commands.cpp7
1 files changed, 7 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