diff --git a/irc/nickserv.go b/irc/nickserv.go index 8acb1083..99caf3bf 100644 --- a/irc/nickserv.go +++ b/irc/nickserv.go @@ -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]