diff options
Diffstat (limited to 'src/progs/manaplus/actions/chat.cpp')
-rw-r--r-- | src/progs/manaplus/actions/chat.cpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/progs/manaplus/actions/chat.cpp b/src/progs/manaplus/actions/chat.cpp index 0644f9c02..bbfefc826 100644 --- a/src/progs/manaplus/actions/chat.cpp +++ b/src/progs/manaplus/actions/chat.cpp @@ -36,6 +36,7 @@ #include "net/charserverhandler.h" #include "net/chathandler.h" +#include "net/clanhandler.h" #include "net/guildhandler.h" #include "net/net.h" #include "net/partyhandler.h" @@ -74,6 +75,12 @@ static void outString(ChatTab *const tab, switch (tab->getType()) { + case ChatTabType::CLAN: + { + if (clanHandler != nullptr) + clanHandler->chat(str); + break; + } case ChatTabType::PARTY: { if (partyHandler != nullptr) |