summaryrefslogtreecommitdiff
path: root/src/utils/chatutils.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-02-10 01:25:51 +0300
committerAndrei Karas <akaras@inbox.ru>2018-02-11 04:28:43 +0300
commit219afd10cf1dc8f7e75273706c2de3a06305e637 (patch)
tree5e1be1c457016104c5ea9bbf0d07ee2f491ef9d8 /src/utils/chatutils.cpp
parentbdf970bde1ce41aa364fc0065ac0cd23e37ec29f (diff)
downloadplus-219afd10cf1dc8f7e75273706c2de3a06305e637.tar.gz
plus-219afd10cf1dc8f7e75273706c2de3a06305e637.tar.bz2
plus-219afd10cf1dc8f7e75273706c2de3a06305e637.tar.xz
plus-219afd10cf1dc8f7e75273706c2de3a06305e637.zip
Add basic support for clans.
Diffstat (limited to 'src/utils/chatutils.cpp')
-rw-r--r--src/utils/chatutils.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/utils/chatutils.cpp b/src/utils/chatutils.cpp
index a47652f9a..0e2d7e2cb 100644
--- a/src/utils/chatutils.cpp
+++ b/src/utils/chatutils.cpp
@@ -30,6 +30,7 @@
#include "gui/widgets/tabs/chat/whispertab.h"
#include "net/chathandler.h"
+#include "net/clanhandler.h"
#include "net/guildhandler.h"
#include "net/partyhandler.h"
@@ -59,6 +60,11 @@ void outStringNormal(ChatTab *const tab,
switch (tab->getType())
{
+ case ChatTabType::CLAN:
+ {
+ clanHandler->chat(str);
+ break;
+ }
case ChatTabType::PARTY:
{
partyHandler->chat(str);