Do not split on command_part as it is unnecessary
This commit is contained in:
parent
d0e0be2dd6
commit
1c18c6e2b5
1 changed files with 1 additions and 6 deletions
|
@ -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]
|
||||
|
|
Loading…
Reference in a new issue