diff options
-rw-r--r-- | src/tabs.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/tabs.py b/src/tabs.py index 4ea64171..8501f348 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -874,7 +874,8 @@ class MucTab(ChatTab): n += 1 if n == 2: userlist = [user.nick for user in self.users] - userlist.remove(self.own_nick) + if self.own_nick in userlist: + userlist.remove(self.own_nick) return the_input.auto_completion(userlist, '') elif n == 3: possible_roles = ['none', 'visitor', 'participant', 'moderator'] @@ -897,7 +898,7 @@ class MucTab(ChatTab): userlist.extend(jidlist) return the_input.auto_completion(userlist, '') elif n == 3: - possible_affiliations = ['none', 'member', 'admin', 'owner'] + possible_affiliations = ['none', 'member', 'admin', 'owner', 'outcast'] return the_input.auto_completion(possible_affiliations, '') def scroll_user_list_up(self): |