summaryrefslogtreecommitdiff
path: root/src/guildmanager.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/guildmanager.cpp')
-rw-r--r--src/guildmanager.cpp8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/guildmanager.cpp b/src/guildmanager.cpp
index 180758cf7..7e096a276 100644
--- a/src/guildmanager.cpp
+++ b/src/guildmanager.cpp
@@ -25,6 +25,7 @@
#include "configuration.h"
#include "guild.h"
#include "localplayer.h"
+#include "notifymanager.h"
#include "gui/socialwindow.h"
@@ -508,7 +509,7 @@ bool GuildManager::afterRemove()
player_node->setGuildName("");
player_node->clearGuilds();
}
- SERVER_NOTICE(_("You have left the guild."))
+ NotifyManager::notify(NotifyManager::GUILD_LEFT);
delete mTab;
mTab = nullptr;
@@ -522,3 +523,8 @@ bool GuildManager::afterRemove()
reload();
return true;
}
+
+ChatTab *GuildManager::getTab()
+{
+ return mTab;
+}