From 95684834ecb45261da1640a4ad8143653698b192 Mon Sep 17 00:00:00 2001 From: Fedja Beader Date: Thu, 16 May 2024 13:14:34 +0000 Subject: Refactor loadFromLogFile calls into ChatTab contructor This has the side effect that now #Debug history is also loaded. **** mana/plus!84 --- src/net/eathena/guildrecv.cpp | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/net/eathena/guildrecv.cpp') diff --git a/src/net/eathena/guildrecv.cpp b/src/net/eathena/guildrecv.cpp index 74b8d9b8d..3d402c5b9 100644 --- a/src/net/eathena/guildrecv.cpp +++ b/src/net/eathena/guildrecv.cpp @@ -698,8 +698,6 @@ void GuildRecv::processGuildPositionInfo(Net::MessageIn &msg) if ((guildTab == nullptr) && (chatWindow != nullptr)) { guildTab = new GuildTab(chatWindow); - if (config.getBoolValue("showChatHistory")) - guildTab->loadFromLogFile("#Guild"); if (localPlayer != nullptr) localPlayer->addGuild(taGuild); guildHandler->memberList(); -- cgit v1.2.3-70-g09d2