From 3a8915234605f1a388277c93c97fde8f5fb487cd Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Fri, 3 Apr 2020 17:15:12 +0200 Subject: [PATCH] Log self-messages too Closes: https://todo.sr.ht/~emersion/soju/44 --- downstream.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/downstream.go b/downstream.go index 8eec279..fc10a26 100644 --- a/downstream.go +++ b/downstream.go @@ -1232,6 +1232,8 @@ func (dc *downstreamConn) handleMessageRegistered(msg *irc.Message) error { dc.ourMessages[echoMsg] = struct{}{} dc.lock.Unlock() + uc.appendLog(upstreamName, "<%s> %s", uc.nick, text) + uc.network.ring.Produce(echoMsg) } case "NOTICE":