Fix a little incoherence in /query
This commit is contained in:
parent
08b374cb29
commit
4c5c3101a2
1 changed files with 1 additions and 1 deletions
|
@ -758,7 +758,7 @@ class MucTab(ChatTab):
|
||||||
if user.nick == nick:
|
if user.nick == nick:
|
||||||
r = self.core.open_private_window(self.name, user.nick)
|
r = self.core.open_private_window(self.name, user.nick)
|
||||||
if r and len(args) > 1:
|
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))
|
self.core.current_tab().command_say(xhtml.convert_simple_to_full_colors(msg))
|
||||||
if not r:
|
if not r:
|
||||||
self.core.information(_("Cannot find user: %s" % nick), 'Error')
|
self.core.information(_("Cannot find user: %s" % nick), 'Error')
|
||||||
|
|
Loading…
Reference in a new issue