diff options
Diffstat (limited to 'src/gui/windows/socialwindow.cpp')
-rw-r--r-- | src/gui/windows/socialwindow.cpp | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/gui/windows/socialwindow.cpp b/src/gui/windows/socialwindow.cpp index d742a0186..b359bc775 100644 --- a/src/gui/windows/socialwindow.cpp +++ b/src/gui/windows/socialwindow.cpp @@ -304,10 +304,14 @@ void SocialWindow::action(const ActionEvent &event) strprintf(_("Accepted guild invite from %s."), mPartyInviter.c_str())); } +#ifdef TMWA_SUPPORT if (!guildManager || !GuildManager::getEnableGuildBot()) guildHandler->inviteResponse(mGuildInvited, true); else guildManager->inviteResponse(true); +#else + guildHandler->inviteResponse(mGuildInvited, true); +#endif } else if (eventId == "no") { @@ -318,10 +322,14 @@ void SocialWindow::action(const ActionEvent &event) strprintf(_("Rejected guild invite from %s."), mPartyInviter.c_str())); } +#ifdef TMWA_SUPPORT if (!guildManager || !GuildManager::getEnableGuildBot()) guildHandler->inviteResponse(mGuildInvited, false); else guildManager->inviteResponse(false); +#else + guildHandler->inviteResponse(mGuildInvited, false); +#endif } mGuildInvited = 0; |