From 6c5025bd74040d25f31d259a6bc09b9072ffcde5 Mon Sep 17 00:00:00 2001 From: Marco Pesenti Gritti Date: Thu, 10 Jan 2008 15:32:44 +0100 Subject: [PATCH] Properly check for the owner, fix #5573. --- shell/view/BuddyMenu.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/view/BuddyMenu.py b/shell/view/BuddyMenu.py index 7f2501dd..e7e12ca5 100644 --- a/shell/view/BuddyMenu.py +++ b/shell/view/BuddyMenu.py @@ -37,7 +37,7 @@ class BuddyMenu(Palette): self._buddy.connect('nick-changed', self._buddy_nick_changed_cb) owner = self._get_shell_model().get_owner() - if buddy.get_nick() != owner.get_nick(): + if not buddy.is_owner(): self._add_items() def _get_shell_model(self):