NS REGISTER needs a login throttle check as well

This commit is contained in:
Shivaram Lingamneni
2019-02-05 20:09:36 -05:00
parent fba91b908f
commit 73f36fba08
+4
View File
@@ -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