forked from External/ergo
Fix KLINE quit/error message and corrects comment on Client.Quit
This commit is contained in:
parent
7ccb485b50
commit
8910dc59ee
2 changed files with 2 additions and 2 deletions
|
|
@ -415,7 +415,7 @@ func (server *Server) tryRegister(c *Client) {
|
|||
if info.Time != nil {
|
||||
reason += fmt.Sprintf(" [%s]", info.Time.Duration.String())
|
||||
}
|
||||
c.Send(nil, "", "ERROR", fmt.Sprintf("You are banned from this server (%s)", reason))
|
||||
c.Quit(fmt.Sprintf("You are banned from this server (%s)", reason))
|
||||
c.destroy()
|
||||
return
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue