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

Update snomask to work with HOPM

This commit is contained in:
Daniel Oaks 2018-05-29 03:21:48 +10:00
parent 4bfa5fc66e
commit 45b8d9e6fa

View File

@ -479,8 +479,8 @@ func (server *Server) tryRegister(c *Client) {
server.stats.ChangeTotal(1) server.stats.ChangeTotal(1)
// continue registration // continue registration
server.logger.Debug("localconnect", fmt.Sprintf("Client registered [%s] [u:%s] [r:%s]", c.nick, c.username, c.realname)) server.logger.Debug("localconnect", fmt.Sprintf("Client connected [%s] [u:%s] [r:%s]", c.nick, c.username, c.realname))
server.snomasks.Send(sno.LocalConnects, fmt.Sprintf(ircfmt.Unescape("Client registered $c[grey][$r%s$c[grey]] [u:$r%s$c[grey]] [h:$r%s$c[grey]] [r:$r%s$c[grey]]"), c.nick, c.username, c.rawHostname, c.realname)) server.snomasks.Send(sno.LocalConnects, fmt.Sprintf("Client connected [%s] [u:%s] [h:%s] [ip:%s] [r:%s]", c.nick, c.username, c.rawHostname, c.IPString(), c.realname))
c.Register() c.Register()
// send welcome text // send welcome text