little bugfix

This commit is contained in:
Yann Leboulanger 2005-03-12 08:25:45 +00:00
parent dfecd6578a
commit 9aea41330b
1 changed files with 2 additions and 1 deletions

View File

@ -348,7 +348,8 @@ class plugin:
user1 = u user1 = u
break break
if user1: if user1:
old_show = statuss.index(user1.show) if user1.show in statuss:
old_show = statuss.index(user1.show)
else: else:
user1 = self.roster.contacts[account][ji][0] user1 = self.roster.contacts[account][ji][0]
if user1.show in statuss: if user1.show in statuss: