summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormathieui <mathieui@mathieui.net>2011-12-19 17:19:18 +0100
committerFlorent Le Coz <louiz@louiz.org>2012-01-26 10:05:35 +0100
commitadf3cfe6947ab9d6f6465b4f3564e142ffb1f6a0 (patch)
treebda1e128995992a91d400e6bac4821167870a0f3 /src
parent91698b6f1b54982460a7f1869b96980d194a9bb1 (diff)
downloadpoezio-adf3cfe6947ab9d6f6465b4f3564e142ffb1f6a0.tar.gz
poezio-adf3cfe6947ab9d6f6465b4f3564e142ffb1f6a0.tar.bz2
poezio-adf3cfe6947ab9d6f6465b4f3564e142ffb1f6a0.tar.xz
poezio-adf3cfe6947ab9d6f6465b4f3564e142ffb1f6a0.zip
Fix a little incoherence in /query
Diffstat (limited to 'src')
-rw-r--r--src/tabs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tabs.py b/src/tabs.py
index e696f46d..45860acc 100644
--- a/src/tabs.py
+++ b/src/tabs.py
@@ -758,7 +758,7 @@ class MucTab(ChatTab):
if user.nick == nick:
r = self.core.open_private_window(self.name, user.nick)
if r and len(args) > 1:
- msg = arg[len(nick)+1:]
+ msg = args[1]
self.core.current_tab().command_say(xhtml.convert_simple_to_full_colors(msg))
if not r:
self.core.information(_("Cannot find user: %s" % nick), 'Error')