summaryrefslogtreecommitdiff
path: root/gitnoti.py
diff options
context:
space:
mode:
Diffstat (limited to 'gitnoti.py')
-rwxr-xr-xgitnoti.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/gitnoti.py b/gitnoti.py
index 28e3ffb..ca06482 100755
--- a/gitnoti.py
+++ b/gitnoti.py
@@ -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