mirror of
https://github.com/jeremyd/ergo.git
synced 2026-07-29 18:28:10 -07:00
logging: Add userinput and output, fix up lots
This commit is contained in:
+1
-2
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user