3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-12-22 18:52:41 +01:00

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

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