From 43b28a1ab0311e16e30711966874d35e2fae254e Mon Sep 17 00:00:00 2001 From: mathieui Date: Wed, 18 Apr 2012 00:07:51 +0200 Subject: Replace arg.split with shell_split in command_message --- src/core.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/core.py b/src/core.py index 2d7e5129..22dae4cd 100644 --- a/src/core.py +++ b/src/core.py @@ -1537,14 +1537,14 @@ class Core(object): """ /message [message] """ - args = arg.split() + args = common.shell_split(arg) if len(args) < 1: self.command_help('message') return jid = args[0] tab = self.open_conversation_window(jid, focus=True) if len(args) > 1: - tab.command_say(arg.strip()[len(jid)+1:]) + tab.command_say(args[1]) def command_version(self, arg): """ -- cgit v1.2.3