3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-22 10:42:52 +01:00

use servername instead of nickmask for RPL_UMODEIS prefix

This commit is contained in:
Hubert Hirtz 2020-04-16 08:48:01 +02:00
parent 139eefc811
commit f2e3287f8d

View File

@ -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(` ·
·
·
. .
. ·