aboutsummaryrefslogtreecommitdiffstats
path: root/wee_slack.py
diff options
context:
space:
mode:
authorRyan Huber <rhuber@gmail.com>2015-01-18 11:09:53 -0800
committerRyan Huber <rhuber@gmail.com>2015-01-18 11:09:53 -0800
commit4484b3bc1aede84d34b1e0470f74bc2e50c37f1c (patch)
treec7d5fc81ba4e21cdb51a3c205c6422056122aa5f /wee_slack.py
parent6c42b00e8a9272b883709d5589b0835d2c4ee50f (diff)
downloadwee-slack-4484b3bc1aede84d34b1e0470f74bc2e50c37f1c.tar.gz
use utf-8 for comparison
Diffstat (limited to 'wee_slack.py')
-rw-r--r--wee_slack.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py
index 91d14c5..9dc1d9c 100644
--- a/wee_slack.py
+++ b/wee_slack.py
@@ -505,7 +505,7 @@ class Channel(SlackThing):
if time != 0 and self.last_read >= time:
tags = "no_highlight,notify_none,logger_backlog_end"
set_read_marker = True
- elif message.find(self.server.nick) > -1:
+ elif message.find(self.server.nick.encode('utf-8')) > -1:
tags = "notify_highlight"
elif user != self.server.nick and self.name in self.server.users:
tags = "notify_private,notify_message"