This commit is contained in:
Florent Le Coz 2011-09-06 02:31:14 +02:00
commit f56295650d

View file

@ -547,8 +547,7 @@ class MucTab(ChatTab):
r = self.core.open_private_window(room.name, user.nick) r = self.core.open_private_window(room.name, user.nick)
if r and len(args) > 1: if r and len(args) > 1:
msg = arg[len(nick)+1:] msg = arg[len(nick)+1:]
muc.send_private_message(self.core.xmpp, r.name, msg) self.core.current_tab().command_say(msg)
self.core.add_message_to_text_buffer(r, msg, None, r.own_nick)
if not r: if not r:
self.core.information(_("Cannot find user: %s" % nick), 'Error') self.core.information(_("Cannot find user: %s" % nick), 'Error')