mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-13 07:29:30 +01:00
use servername instead of nickmask for RPL_UMODEIS prefix
This commit is contained in:
parent
139eefc811
commit
f2e3287f8d
@ -407,7 +407,7 @@ func (server *Server) playRegistrationBurst(session *Session) {
|
|||||||
|
|
||||||
modestring := c.ModeString()
|
modestring := c.ModeString()
|
||||||
if 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)
|
c.attemptAutoOper(session)
|
||||||
|
Loading…
Reference in New Issue
Block a user