summaryrefslogtreecommitdiff
path: root/src/net/ea/partyhandler.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/partyhandler.cpp
parent1fd495484bb43a1e0b0d088874d7bc588d8d38c9 (diff)
downloadmanaverse-13c2533f4a2d27f1c9156df2a8ad2851be2016fd.tar.gz
manaverse-13c2533f4a2d27f1c9156df2a8ad2851be2016fd.tar.bz2
manaverse-13c2533f4a2d27f1c9156df2a8ad2851be2016fd.tar.xz
manaverse-13c2533f4a2d27f1c9156df2a8ad2851be2016fd.zip
Fix option "Show chat history" for all tabs.
Diffstat (limited to 'src/net/ea/partyhandler.cpp')
-rw-r--r--src/net/ea/partyhandler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/ea/partyhandler.cpp b/src/net/ea/partyhandler.cpp
index 7702bfcee..0b3576e21 100644
--- a/src/net/ea/partyhandler.cpp
+++ b/src/net/ea/partyhandler.cpp
@@ -22,6 +22,7 @@
#include "net/ea/partyhandler.h"
#include "actorspritemanager.h"
+#include "configuration.h"
#include "localplayer.h"
#include "gui/socialwindow.h"
@@ -220,7 +221,8 @@ void PartyHandler::processPartySettings(Net::MessageIn &msg)
return;
Ea::partyTab = new PartyTab(chatWindow);
- Ea::partyTab->loadFromLogFile("#Party");
+ if (config.getBoolValue("showChatHistory"))
+ Ea::partyTab->loadFromLogFile("#Party");
}
// These seem to indicate the sharing mode for exp and items