From 449ef1e5940d19095efa2ec2a3926ede470c96f6 Mon Sep 17 00:00:00 2001 From: moneromooo Date: Tue, 30 Dec 2014 13:05:40 +0000 Subject: [PATCH] Log the issuer when a command is found --- tipbot/irc.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tipbot/irc.py b/tipbot/irc.py index a8d0105..e526eb9 100644 --- a/tipbot/irc.py +++ b/tipbot/irc.py @@ -341,7 +341,7 @@ def IRCLoop(on_idle,on_identified,on_command): cmd = cmd.split(' ') cmd[0] = cmd[0].strip(' \t\n\r') - log_log('Found command: "%s" in channel "%s"' % (str(cmd), str(chan))) + log_log('Found command from %s: "%s" in channel "%s"' % (who, str(cmd), str(chan))) #if cmd[0] == 'join': # Join('#' + cmd[1])