mirror of
https://github.com/jeremyd/ergo.git
synced 2026-05-30 04:09:26 -07:00
forbid logging in twice via nickserv
This commit is contained in:
@@ -238,6 +238,11 @@ func nsLoginThrottleCheck(client *Client, rb *ResponseBuffer) (success bool) {
|
||||
}
|
||||
|
||||
func nsIdentifyHandler(server *Server, client *Client, command string, params []string, rb *ResponseBuffer) {
|
||||
if client.LoggedIntoAccount() {
|
||||
nsNotice(rb, client.t("You're already logged into an account"))
|
||||
return
|
||||
}
|
||||
|
||||
loginSuccessful := false
|
||||
|
||||
username := params[0]
|
||||
|
||||
Reference in New Issue
Block a user