mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-26 20:59:27 +01:00
irclib: Fill the nick and prefix of simulated echo messages.
This commit is contained in:
parent
5195ff8e12
commit
1fe414764c
@ -1305,6 +1305,8 @@ class Irc(IrcCommandDispatcher, log.Firewalled):
|
|||||||
# echo-message is not implemented by server; let's emulate it
|
# echo-message is not implemented by server; let's emulate it
|
||||||
# here, just before sending it to the driver.
|
# here, just before sending it to the driver.
|
||||||
assert not msg.tagged('receivedAt')
|
assert not msg.tagged('receivedAt')
|
||||||
|
msg.nick = self.nick
|
||||||
|
msg.prefix = self.prefix
|
||||||
self.feedMsg(msg, tag=False)
|
self.feedMsg(msg, tag=False)
|
||||||
else:
|
else:
|
||||||
# I don't think we should do this. Why should it matter? If it's
|
# I don't think we should do this. Why should it matter? If it's
|
||||||
|
Loading…
Reference in New Issue
Block a user