mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +01:00
commit
8974cffe2d
@ -86,12 +86,10 @@ func performNickChange(server *Server, client *Client, target *Client, session *
|
||||
channel.history.Add(histItem)
|
||||
}
|
||||
|
||||
target.nickTimer.Touch(rb)
|
||||
|
||||
if target.Registered() {
|
||||
client.server.monitorManager.AlertAbout(target, true)
|
||||
}
|
||||
// else: Run() will attempt registration immediately after this
|
||||
target.nickTimer.Touch(rb)
|
||||
} // else: these will be deferred to the end of registration (see #572)
|
||||
return true
|
||||
}
|
||||
|
||||
|
@ -421,6 +421,9 @@ func (server *Server) playRegistrationBurst(session *Session) {
|
||||
if server.logger.IsLoggingRawIO() {
|
||||
session.Send(nil, c.server.name, "NOTICE", d.nick, c.t("This server is in debug mode and is logging all user I/O. If you do not wish for everything you send to be readable by the server owner(s), please disconnect."))
|
||||
}
|
||||
|
||||
// #572: defer nick warnings to the end of the registration burst
|
||||
session.client.nickTimer.Touch(nil)
|
||||
}
|
||||
|
||||
// t returns the translated version of the given string, based on the languages configured by the client.
|
||||
|
Loading…
Reference in New Issue
Block a user