mirror of
https://github.com/ergochat/ergo.git
synced 2024-11-23 04:19:25 +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
|
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()
|
config := server.AccountConfig()
|
||||||
var callbackNamespace, callbackValue string
|
var callbackNamespace, callbackValue string
|
||||||
noneCallbackAllowed := false
|
noneCallbackAllowed := false
|
||||||
|
Loading…
Reference in New Issue
Block a user