Fix a stupid bug

This commit is contained in:
Julien Pivotto 2007-07-19 18:44:50 +00:00
parent 3087a66ccb
commit 8fb9b69874
1 changed files with 1 additions and 1 deletions

View File

@ -905,7 +905,7 @@ class GroupchatControl(ChatControlBase):
if show in ('offline', 'error'): if show in ('offline', 'error'):
if statusCode: if statusCode:
if statuscode '307' in statusCode: if '307' in statusCode:
if actor is None: # do not print 'kicked by None' if actor is None: # do not print 'kicked by None'
s = _('%(nick)s has been kicked: %(reason)s') % { s = _('%(nick)s has been kicked: %(reason)s') % {
'nick': nick, 'nick': nick,