3
0
mirror of https://github.com/ergochat/ergo.git synced 2024-11-22 20:09:41 +01:00

Band-aid NS REGISTER fix

This commit is contained in:
Daniel Oaks 2019-02-23 21:27:19 +10:00
parent 266782a7d1
commit 7e6e7742f9

View File

@ -363,6 +363,13 @@ func nsRegisterHandler(server *Server, client *Client, command string, params []
return
}
// band-aid to let users know if they mix up the order of registration params
if email == "*" {
nsNotice(rb, client.t("Registering your account with no email address"))
} else {
nsNotice(rb, fmt.Sprintf(client.t("Registering your account with email address %s"), email))
}
config := server.AccountConfig()
var callbackNamespace, callbackValue string
noneCallbackAllowed := false