From adf3cfe6947ab9d6f6465b4f3564e142ffb1f6a0 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(-) (limited to 'src') 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