From d0954c2d702d7791a6ee1a5d2a82145b089ab523 Mon Sep 17 00:00:00 2001 From: Erik Schilling Date: Fri, 20 Jan 2012 21:09:55 +0100 Subject: Made the ignore record parameter useful Reviewed-by: Bjorn. --- src/gui/widgets/chattab.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui') diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp index ce9ee878..8f969dbc 100644 --- a/src/gui/widgets/chattab.cpp +++ b/src/gui/widgets/chattab.cpp @@ -220,7 +220,7 @@ void ChatTab::chatLog(std::string line, Own own, bool ignoreRecord) line = lineColor + timeStr.str() + tmp.nick + tmp.text; - if (config.getBoolValue("enableChatLog")) + if (config.getBoolValue("enableChatLog") && !ignoreRecord) saveToLogFile(line); // We look if the Vertical Scroll Bar is set at the max before -- cgit v1.2.3-70-g09d2