summaryrefslogtreecommitdiff
path: root/src/gui/widgets
diff options
context:
space:
mode:
authorErik Schilling <ablu.erikschilling@googlemail.com>2012-01-20 21:09:55 +0100
committerErik Schilling <ablu.erikschilling@googlemail.com>2012-01-20 21:18:22 +0100
commitd0954c2d702d7791a6ee1a5d2a82145b089ab523 (patch)
tree0bee141644637777109cd309e64b8a6b58c5c8c8 /src/gui/widgets
parent64cec0656a7df985304b45b83c380911af44c726 (diff)
downloadmana-d0954c2d702d7791a6ee1a5d2a82145b089ab523.tar.gz
mana-d0954c2d702d7791a6ee1a5d2a82145b089ab523.tar.bz2
mana-d0954c2d702d7791a6ee1a5d2a82145b089ab523.tar.xz
mana-d0954c2d702d7791a6ee1a5d2a82145b089ab523.zip
Made the ignore record parameter useful
Reviewed-by: Bjorn.
Diffstat (limited to 'src/gui/widgets')
-rw-r--r--src/gui/widgets/chattab.cpp2
1 files changed, 1 insertions, 1 deletions
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