summaryrefslogtreecommitdiff
path: root/src/net/tmwa/guildmanager.cpp
diff options
context:
space:
mode:
authorFedja Beader <fedja@protonmail.ch>2024-05-16 13:14:34 +0000
committerFedja Beader <fedja@protonmail.ch>2024-05-16 13:14:34 +0000
commit95684834ecb45261da1640a4ad8143653698b192 (patch)
treeb0f6da9e6729082ac40812fbb5815109673efd67 /src/net/tmwa/guildmanager.cpp
parent99f361699e1c8bbc1e69f4d199863b836b3528a3 (diff)
downloadmv-95684834ecb45261da1640a4ad8143653698b192.tar.gz
mv-95684834ecb45261da1640a4ad8143653698b192.tar.bz2
mv-95684834ecb45261da1640a4ad8143653698b192.tar.xz
mv-95684834ecb45261da1640a4ad8143653698b192.zip
Refactor loadFromLogFile calls into ChatTab contructor
This has the side effect that now #Debug history is also loaded. **** mana/plus!84
Diffstat (limited to 'src/net/tmwa/guildmanager.cpp')
-rw-r--r--src/net/tmwa/guildmanager.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/net/tmwa/guildmanager.cpp b/src/net/tmwa/guildmanager.cpp
index f00e444db..52c056de6 100644
--- a/src/net/tmwa/guildmanager.cpp
+++ b/src/net/tmwa/guildmanager.cpp
@@ -234,8 +234,6 @@ void GuildManager::createTab(Guild *const guild)
if (mTab == nullptr)
{
mTab = new EmulateGuildTab(chatWindow);
- if (config.getBoolValue("showChatHistory"))
- mTab->loadFromLogFile("#Guild");
if (localPlayer != nullptr)
localPlayer->addGuild(guild);
}