Mercurial > xib
changeset 258:3b4826e14642
fixed an UnboundLocalError in IRC kick handling, bug introduced in f1a21a006f2facd0ec2a71e99180b7b4df0907e3
Signed-off-by: Charly COSTE <changaco@changaco.net>
author | Charly COSTE <changaco@changaco.net> |
---|---|
date | Sat, 13 Mar 2010 23:37:53 +0100 |
parents | 1a8401d6bc93 |
children | 3b318108e9e0 |
files | bot.py |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/bot.py +++ b/bot.py @@ -623,7 +623,7 @@ class Bot(threading.Thread): self.error(say_levels.debug, 'a participant that was not here has been kicked ? WTF ?'+event_str) return - leave_message = 'kicked by '+nickname + leave_message = 'kicked by '+source_nickname if len(event.arguments()) > 1: leave_message += ' with reason: '+event.arguments()[1] else: