From f2e3287f8d67865194c2bc4eb3723db6d53d7c68 Mon Sep 17 00:00:00 2001 From: Hubert Hirtz Date: Thu, 16 Apr 2020 08:48:01 +0200 Subject: [PATCH] use servername instead of nickmask for RPL_UMODEIS prefix --- irc/server.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/irc/server.go b/irc/server.go index 6f6657a3..63a1d4d8 100644 --- a/irc/server.go +++ b/irc/server.go @@ -407,7 +407,7 @@ func (server *Server) playRegistrationBurst(session *Session) { modestring := c.ModeString() if modestring != "+" { - session.Send(nil, d.nickMask, RPL_UMODEIS, d.nick, modestring) + session.Send(nil, server.name, RPL_UMODEIS, d.nick, modestring) } c.attemptAutoOper(session) @@ -993,8 +993,8 @@ func (target *Client) RplList(channel *Channel, rb *ResponseBuffer) { var ( infoString1 = strings.Split(` ▄▄▄ ▄▄▄· ▄▄ • ▐ ▄ -▪ ▀▄ █·▐█ ▀█ ▐█ ▀ ▪▪ •█▌▐█▪ - ▄█▀▄ ▐▀▀▄ ▄█▀▀█ ▄█ ▀█▄ ▄█▀▄▪▐█▐▐▌ ▄█▀▄ +▪ ▀▄ █·▐█ ▀█ ▐█ ▀ ▪▪ •█▌▐█▪ + ▄█▀▄ ▐▀▀▄ ▄█▀▀█ ▄█ ▀█▄ ▄█▀▄▪▐█▐▐▌ ▄█▀▄ ▐█▌.▐▌▐█•█▌▐█ ▪▐▌▐█▄▪▐█▐█▌ ▐▌██▐█▌▐█▌.▐▌ ▀█▄▀▪.▀ ▀ ▀ ▀ ·▀▀▀▀ ▀█▄▀ ▀▀ █▪ ▀█▄▀▪