summaryrefslogtreecommitdiff
path: root/src/utils/chatutils.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-16 13:13:48 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-16 13:13:48 +0300
commit5b8f189276b3883253de31d5e7bbbf897d34c85b (patch)
treec3e6028d800e4caf4acb7ca3f45ba2e63e8df26b /src/utils/chatutils.cpp
parent47d811c90a4655b69f1846c16150efebbfa4ccfa (diff)
downloadplus-5b8f189276b3883253de31d5e7bbbf897d34c85b.tar.gz
plus-5b8f189276b3883253de31d5e7bbbf897d34c85b.tar.bz2
plus-5b8f189276b3883253de31d5e7bbbf897d34c85b.tar.xz
plus-5b8f189276b3883253de31d5e7bbbf897d34c85b.zip
Use guildmanager only if build with tmwa support.
Diffstat (limited to 'src/utils/chatutils.cpp')
-rw-r--r--src/utils/chatutils.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils/chatutils.cpp b/src/utils/chatutils.cpp
index 7913d14c2..45130ced8 100644
--- a/src/utils/chatutils.cpp
+++ b/src/utils/chatutils.cpp
@@ -71,10 +71,12 @@ void outStringNormal(ChatTab *const tab,
return;
guildHandler->chat(guild->getId(), str);
}
+#ifdef TMWA_SUPPORT
else if (guildManager)
{
guildManager->chat(str);
}
+#endif
}
break;
}