summaryrefslogtreecommitdiff
path: root/Applications/IRCClient/IRCQuery.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Applications/IRCClient/IRCQuery.cpp')
-rw-r--r--Applications/IRCClient/IRCQuery.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/Applications/IRCClient/IRCQuery.cpp b/Applications/IRCClient/IRCQuery.cpp
index 932a07b250..a592c01012 100644
--- a/Applications/IRCClient/IRCQuery.cpp
+++ b/Applications/IRCClient/IRCQuery.cpp
@@ -27,11 +27,10 @@ void IRCQuery::dump() const
log().dump();
}
-void IRCQuery::add_message(char prefix, const String& name, const String& text)
+void IRCQuery::add_message(char prefix, const String& name, const String& text, Color color)
{
+ log().add_message(prefix, name, text, color);
window().did_add_message();
- log().add_message(prefix, name, text);
- dump();
}
void IRCQuery::say(const String& text)