From e934d8b513bb6537aad4b0f164666c916ab6dcad Mon Sep 17 00:00:00 2001 From: mathieui Date: Wed, 18 Apr 2012 00:16:00 +0200 Subject: [PATCH] Do not split on command_ignore as it is unnecessary --- src/tabs.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/tabs.py b/src/tabs.py index c3da59db..0bb8174e 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -984,11 +984,10 @@ class MucTab(ChatTab): """ /ignore """ - args = common.shell_split(arg) - if len(args) != 1: + if not arg: self.core.command_help('ignore') return - nick = args[0] + nick = arg user = self.get_user_by_name(nick) if not user: self.core.information(_('%s is not in the room') % nick)