From 4c5c3101a24ae36b026746937cfd606be9e8d989 Mon Sep 17 00:00:00 2001 From: mathieui Date: Mon, 19 Dec 2011 17:19:18 +0100 Subject: Fix a little incoherence in /query --- src/tabs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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') -- cgit v1.2.3