summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--IrcHandler.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/IrcHandler.py b/IrcHandler.py
index bf5c166..52c9b1c 100644
--- a/IrcHandler.py
+++ b/IrcHandler.py
@@ -64,7 +64,7 @@ class IrcHandler(QObject):
self.join_channel(channel)
else:
self.sig.emit(current_channel, text)
- self.window.update_chat(current_channel, self.nick + ": " + text)
+ self.window.update_chat(current_channel, "<b>&lt;" + self.nick + "&gt;</b> " + text)
self.window.reset_input(current_channel)
@@ -72,7 +72,7 @@ class IrcHandler(QObject):
def handle_msg(self, channelStr, nick, msg):
if channelStr in self.channels:
channel = self.channels[channelStr]
- self.window.update_chat(channelStr , nick + ": " + msg)
+ self.window.update_chat(channelStr, "<b>&lt;" + nick + "&gt;</b> " + msg)
@pyqtSlot(str, str)
def handle_nicks(self, channelStr, nicks):