mirror of
https://github.com/ergochat/ergo.git
synced 2024-12-23 03:02:48 +01:00
NS REGISTER needs a login throttle check as well
This commit is contained in:
parent
fba91b908f
commit
73f36fba08
@ -339,6 +339,10 @@ func nsRegisterHandler(server *Server, client *Client, command string, params []
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if !nsLoginThrottleCheck(client, rb) {
|
||||||
|
return
|
||||||
|
}
|
||||||
|
|
||||||
config := server.AccountConfig()
|
config := server.AccountConfig()
|
||||||
var callbackNamespace, callbackValue string
|
var callbackNamespace, callbackValue string
|
||||||
noneCallbackAllowed := false
|
noneCallbackAllowed := false
|
||||||
|
Loading…
Reference in New Issue
Block a user