mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-10 22:19:31 +01:00
Band-aid NS REGISTER fix
This commit is contained in:
parent
266782a7d1
commit
7e6e7742f9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user