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
break
if user1:
old_show = statuss.index(user1.show)
if user1.show in statuss:
old_show = statuss.index(user1.show)
else:
user1 = self.roster.contacts[account][ji][0]
if user1.show in statuss: