summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/core.py4
1 files changed, 2 insertions, 2 deletions
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 <jid> [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):
"""