mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-22 03:49:27 +01:00
clear failed nick assignments to avoid confusion
This commit is contained in:
parent
be86684e96
commit
54123ef9a2
@ -437,6 +437,7 @@ func (server *Server) tryRegister(c *Client) {
|
||||
nickAssigned := performNickChange(server, c, c, preregNick, rb)
|
||||
rb.Send()
|
||||
if !nickAssigned {
|
||||
c.SetPreregNick("")
|
||||
return
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user