diff options
author | mathieui <mathieui@mathieui.net> | 2012-04-18 00:14:08 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2012-04-18 00:14:08 +0200 |
commit | 1c18c6e2b505f0a9ffe8867aa63edae90a355c2c (patch) | |
tree | f68374f14a44212727addbb3918c60b5c64d85b0 | |
parent | d0e0be2dd6d3161fde60b21e822042a21ebe7265 (diff) | |
download | poezio-1c18c6e2b505f0a9ffe8867aa63edae90a355c2c.tar.gz poezio-1c18c6e2b505f0a9ffe8867aa63edae90a355c2c.tar.bz2 poezio-1c18c6e2b505f0a9ffe8867aa63edae90a355c2c.tar.xz poezio-1c18c6e2b505f0a9ffe8867aa63edae90a355c2c.zip |
Do not split on command_part as it is unnecessary
-rw-r--r-- | src/tabs.py | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/tabs.py b/src/tabs.py index b1363ddd..908a0ce5 100644 --- a/src/tabs.py +++ b/src/tabs.py @@ -800,11 +800,7 @@ class MucTab(ChatTab): """ /part [msg] """ - args = arg.split() - if len(args): - arg = ' '.join(args) - else: - arg = None + arg = arg.strip() if self.joined: self.disconnect() muc.leave_groupchat(self.core.xmpp, self.name, self.own_nick, arg) @@ -824,7 +820,6 @@ class MucTab(ChatTab): self.command_part(arg) self.core.close_tab() - def command_query(self, arg): """ /query <nick> [message] |