diff options
author | mathieui <mathieui@mathieui.net> | 2012-04-18 00:07:51 +0200 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2012-04-18 00:07:51 +0200 |
commit | 43b28a1ab0311e16e30711966874d35e2fae254e (patch) | |
tree | 848d8b2fefb42bfdfb1d6ff730d3b1377fdc6bf6 /src/core.py | |
parent | 406e24dcff56a4e4c59a110333d2bc1c7b9d3288 (diff) | |
download | poezio-43b28a1ab0311e16e30711966874d35e2fae254e.tar.gz poezio-43b28a1ab0311e16e30711966874d35e2fae254e.tar.bz2 poezio-43b28a1ab0311e16e30711966874d35e2fae254e.tar.xz poezio-43b28a1ab0311e16e30711966874d35e2fae254e.zip |
Replace arg.split with shell_split in command_message
Diffstat (limited to 'src/core.py')
-rw-r--r-- | src/core.py | 4 |
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): """ |