summaryrefslogtreecommitdiff
path: root/src/actions/chat.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions/chat.cpp')
-rw-r--r--src/actions/chat.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp
index cacafea5b..5014b24bc 100644
--- a/src/actions/chat.cpp
+++ b/src/actions/chat.cpp
@@ -78,10 +78,12 @@ static void outString(ChatTab *const tab,
return;
guildHandler->chat(guild->getId(), str);
}
+#ifdef TMWA_SUPPORT
else if (guildManager)
{
guildManager->chat(str);
}
+#endif
}
break;
}
@@ -369,10 +371,14 @@ impHandler(guild)
const Guild *const guild = localPlayer->getGuild();
if (guild)
{
+#ifdef TMWA_SUPPORT
if (guild->getServerGuild())
guildHandler->invite(guild->getId(), args);
else if (guildManager)
guildManager->invite(args);
+#else
+ guildHandler->invite(guild->getId(), args);
+#endif
}
}
else