diff options
author | Ryan Huber <rhuber@gmail.com> | 2014-10-25 18:43:41 -0700 |
---|---|---|
committer | Ryan Huber <rhuber@gmail.com> | 2014-10-25 18:43:41 -0700 |
commit | 74b1a1ae484bc1a53c7228614084d696ef38c876 (patch) | |
tree | d36159f3b0a59ed7f491dc8e20fc85371f0418a0 /wee_slack.py | |
parent | 8660ae346da6412eb807dee1376dbaf90ddf5f2f (diff) | |
download | wee-slack-74b1a1ae484bc1a53c7228614084d696ef38c876.tar.gz |
mroe fixy
Diffstat (limited to 'wee_slack.py')
-rw-r--r-- | wee_slack.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/wee_slack.py b/wee_slack.py index 6ddc98a..9b3da80 100644 --- a/wee_slack.py +++ b/wee_slack.py @@ -246,7 +246,7 @@ class SlackThing(object): return "Name: %s Id: %s CB: %s" % (self.name, self.identifier, self.channel_buffer) def input(b,c,data): - channel = channels.find(b) + channel = channels.find(c) channel.send_message(data) channel.buffer_prnt(channel.server.nick, data) return w.WEECHAT_RC_ERROR @@ -388,6 +388,8 @@ class DmChannel(Channel): message = message.encode('ascii', 'ignore') if backlog == True or (time != 0 and self.last_read > time): tags = "no_highlight,notify_none,logger_backlog_end" + elif user == self.server.nick: + tags = "" elif message.find(self.server.nick) > -1: tags = "notify_highlight" else: |