Log the issuer when a command is found

This commit is contained in:
moneromooo 2014-12-30 13:05:40 +00:00
parent 47dd9de0e1
commit 449ef1e594
1 changed files with 1 additions and 1 deletions

View File

@ -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])