From 73f36fba088eaa0cc1c95758269a3408b434b6c7 Mon Sep 17 00:00:00 2001 From: Shivaram Lingamneni Date: Tue, 5 Feb 2019 20:09:36 -0500 Subject: [PATCH] NS REGISTER needs a login throttle check as well --- irc/nickserv.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/irc/nickserv.go b/irc/nickserv.go index 0352d458..2d3113c0 100644 --- a/irc/nickserv.go +++ b/irc/nickserv.go @@ -339,6 +339,10 @@ func nsRegisterHandler(server *Server, client *Client, command string, params [] return } + if !nsLoginThrottleCheck(client, rb) { + return + } + config := server.AccountConfig() var callbackNamespace, callbackValue string noneCallbackAllowed := false