summaryrefslogtreecommitdiff
path: root/src/notifymanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/notifymanager.cpp')
-rw-r--r--src/notifymanager.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/notifymanager.cpp b/src/notifymanager.cpp
index 7cb4a9469..9c86be769 100644
--- a/src/notifymanager.cpp
+++ b/src/notifymanager.cpp
@@ -46,10 +46,14 @@ namespace NotifyManager
const Guild *const guild = localPlayer->getGuild();
if (guild)
{
+#ifdef TMWA_SUPPORT
if (guild->getServerGuild())
return guildHandler->getTab();
else if (guildManager)
return guildManager->getTab();
+#else
+ return guildHandler->getTab();
+#endif
}
return nullptr;
}