3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-10 22:19:31 +01:00

Merge pull request #949 from hhirtz/umodeis

use servername instead of nickmask for RPL_UMODEIS prefix
This commit is contained in:
Daniel Oaks 2020-04-16 17:47:31 +10:00 committed by GitHub
commit a83dc6e10d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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)