mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-29 07:29:31 +01:00
Merge pull request #949 from hhirtz/umodeis
use servername instead of nickmask for RPL_UMODEIS prefix
This commit is contained in:
commit
a83dc6e10d
@ -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