summaryrefslogtreecommitdiff
path: root/src/net/ea/guildhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2012-11-28 00:42:01 +0300
committerAndrei Karas <akaras@inbox.ru>2012-11-28 00:42:01 +0300
commit13c2533f4a2d27f1c9156df2a8ad2851be2016fd (patch)
tree0813ea503e928877f099c474fdf8a7d8c0d1ab12 /src/net/ea/guildhandler.cpp
parent1fd495484bb43a1e0b0d088874d7bc588d8d38c9 (diff)
downloadplus-13c2533f4a2d27f1c9156df2a8ad2851be2016fd.tar.gz
plus-13c2533f4a2d27f1c9156df2a8ad2851be2016fd.tar.bz2
plus-13c2533f4a2d27f1c9156df2a8ad2851be2016fd.tar.xz
plus-13c2533f4a2d27f1c9156df2a8ad2851be2016fd.zip
Fix option "Show chat history" for all tabs.
Diffstat (limited to 'src/net/ea/guildhandler.cpp')
-rw-r--r--src/net/ea/guildhandler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/ea/guildhandler.cpp b/src/net/ea/guildhandler.cpp
index 4af230773..5c9b94529 100644
--- a/src/net/ea/guildhandler.cpp
+++ b/src/net/ea/guildhandler.cpp
@@ -22,6 +22,7 @@
#include "net/ea/guildhandler.h"
#include "actorspritemanager.h"
+#include "configuration.h"
#include "localplayer.h"
#include "gui/socialwindow.h"
@@ -122,7 +123,8 @@ void GuildHandler::processGuildPositionInfo(Net::MessageIn &msg)
if (!guildTab && chatWindow)
{
guildTab = new GuildTab(chatWindow);
- guildTab->loadFromLogFile("#Guild");
+ if (config.getBoolValue("showChatHistory"))
+ guildTab->loadFromLogFile("#Guild");
if (player_node)
player_node->addGuild(taGuild);
memberList(guildId);