summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/chatwindow.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp
index 1142636b4..47db83c75 100644
--- a/src/gui/chatwindow.cpp
+++ b/src/gui/chatwindow.cpp
@@ -940,12 +940,16 @@ void ChatWindow::whisper(const std::string &nick,
msg = msg.substr(idx + 1);
nick2 = removeColors(nick2);
nick2 = trim(nick2);
+ if (config.getBoolValue("removeColors"))
+ msg = removeColors(msg);
msg = trim(msg);
tab->chatLog(nick2, msg);
}
else
{
- tab->chatLog(nick, mes);
+ if (config.getBoolValue("removeColors"))
+ msg = removeColors(msg);
+ tab->chatLog(msg, BY_SERVER);
}
}
else