Commit 4c5c3101 authored by mathieui's avatar mathieui
Browse files

Fix a little incoherence in /query

parent 08b374cb
......@@ -758,7 +758,7 @@ class MucTab(ChatTab):
if user.nick == nick:
r = self.core.open_private_window(, user.nick)
if r and len(args) > 1:
msg = arg[len(nick)+1:]
msg = args[1]
if not r:
self.core.information(_("Cannot find user: %s" % nick), 'Error')
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment