From 1fe414764c0c2fa291b7d10d663b52c069013058 Mon Sep 17 00:00:00 2001 From: Valentin Lorentz Date: Sat, 17 Oct 2020 14:22:48 +0200 Subject: [PATCH] irclib: Fill the nick and prefix of simulated echo messages. --- src/irclib.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/irclib.py b/src/irclib.py index c7d497e4e..b7317685f 100644 --- a/src/irclib.py +++ b/src/irclib.py @@ -1305,6 +1305,8 @@ class Irc(IrcCommandDispatcher, log.Firewalled): # echo-message is not implemented by server; let's emulate it # here, just before sending it to the driver. assert not msg.tagged('receivedAt') + msg.nick = self.nick + msg.prefix = self.prefix self.feedMsg(msg, tag=False) else: # I don't think we should do this. Why should it matter? If it's