From 9aea41330bd365b6e0dd8c22c3cfec3eb82ebbf4 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Sat, 12 Mar 2005 08:25:45 +0000 Subject: [PATCH] little bugfix --- plugins/gtkgui/gtkgui.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/gtkgui/gtkgui.py b/plugins/gtkgui/gtkgui.py index 0fe08a809..fe2e0a42a 100644 --- a/plugins/gtkgui/gtkgui.py +++ b/plugins/gtkgui/gtkgui.py @@ -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: