summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2012-04-18 00:16:00 +0200
committermathieui <mathieui@mathieui.net>2012-04-18 00:16:00 +0200
commite934d8b513bb6537aad4b0f164666c916ab6dcad (patch)
tree7a69df3382d9686bb63ef8410f59097f4e81a678 /src
parent4ab6a591cfb00afe9ebdbee624220562f1f81081 (diff)
downloadpoezio-e934d8b513bb6537aad4b0f164666c916ab6dcad.tar.gz
poezio-e934d8b513bb6537aad4b0f164666c916ab6dcad.tar.bz2
poezio-e934d8b513bb6537aad4b0f164666c916ab6dcad.tar.xz
poezio-e934d8b513bb6537aad4b0f164666c916ab6dcad.zip
Do not split on command_ignore as it is unnecessary
Diffstat (limited to 'src')
-rw-r--r--src/tabs.py5
1 files 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 <nick>
"""
- 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)