diff options
author | mathieui <mathieui@mathieui.net> | 2012-04-18 00:16:44 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2012-04-18 00:16:44 +0200 |
commit | 31382401500292c27797d21d8e86bc7c2fe48161 (patch) | |
tree | e8c0416a5e22b06b4e7a64b0c845c7d92a8c6a71 | |
parent | e934d8b513bb6537aad4b0f164666c916ab6dcad (diff) | |
download | poezio-31382401500292c27797d21d8e86bc7c2fe48161.tar.gz poezio-31382401500292c27797d21d8e86bc7c2fe48161.tar.bz2 poezio-31382401500292c27797d21d8e86bc7c2fe48161.tar.xz poezio-31382401500292c27797d21d8e86bc7c2fe48161.zip |
Do not split on command_unignore as it is unnecessary
-rw-r--r-- | src/tabs.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/src/tabs.py b/src/tabs.py index 0bb8174e..4f95194b 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -1001,11 +1001,10 @@ class MucTab(ChatTab): """ /unignore <nick> """ - args = common.shell_split(arg) - if len(args) != 1: + if not arg: self.core.command_help('unignore') 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) |