1
0
Fork 0
forked from External/ergo

logging: Add userinput and output, fix up lots

This commit is contained in:
Daniel Oaks 2017-03-06 22:11:10 +10:00
parent 415a8117ee
commit b328a4fcd3
6 changed files with 25 additions and 6 deletions

View file

@ -644,6 +644,7 @@ func (server *Server) tryRegister(c *Client) {
}
// continue registration
server.logger.Log(LogDebug, "localconnect", fmt.Sprintf("Client registered [%s]", c.nick))
c.Register()
// send welcome text
@ -657,8 +658,6 @@ func (server *Server) tryRegister(c *Client) {
c.RplISupport()
server.MOTD(c)
c.Send(nil, c.nickMaskString, RPL_UMODEIS, c.nick, c.ModeString())
server.logger.Log(LogDebug, "localconnect", fmt.Sprintf("Client registered [%s]", c.nick))
}
// MOTD serves the Message of the Day.