diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-16 13:13:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-16 13:13:48 +0300 |
commit | 5b8f189276b3883253de31d5e7bbbf897d34c85b (patch) | |
tree | c3e6028d800e4caf4acb7ca3f45ba2e63e8df26b /src/notifymanager.cpp | |
parent | 47d811c90a4655b69f1846c16150efebbfa4ccfa (diff) | |
download | plus-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/notifymanager.cpp')
-rw-r--r-- | src/notifymanager.cpp | 4 |
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; } |