diff options
author | Jon Bergli Heier <snakebite@jvnv.net> | 2009-08-30 13:21:05 +0200 |
---|---|---|
committer | Jon Bergli Heier <snakebite@jvnv.net> | 2009-08-30 13:21:05 +0200 |
commit | 7b6aae8dbdb3e0756e96419ca2c6d3890e8b94d7 (patch) | |
tree | 7452c13118afb2af4155f0bac6d33d7909c82e74 | |
parent | 13d9811a2f5868125a40586a3af1414c9fb2dc31 (diff) |
Set nick before assigning target
-rwxr-xr-x | gitnoti.py | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -81,8 +81,8 @@ class Bot(irc.IRCClient): def privmsg(self, user, channel, message): private = channel == self.nickname - target = nick if private else channel nick = user.split('!')[0] + target = nick if private else channel messagelist = message.split() if len(messagelist) < 2: return |