[Zash] fix wrong var name. Fixes #5971

This commit is contained in:
Yann Leboulanger 2010-10-10 21:20:59 +02:00
parent a68d527cbd
commit 8c7aabb0bf
1 changed files with 1 additions and 1 deletions

View File

@ -1396,7 +1396,7 @@ class GroupchatControl(ChatControlBase):
# Room has been destroyed.
elif 'destroyed' in obj.status_code:
self.autorejoin = False
self.print_conversation(reason, 'info', graphics=False)
self.print_conversation(obj.reason, 'info', graphics=False)
if len(gajim.events.get_events(self.account, jid=obj.fjid,
types=['pm'])) == 0: