forked from External/ergo
be more pedantic about distinguishing skeletons and casefolds
This commit is contained in:
parent
a6164cd9c4
commit
8794740f89
5 changed files with 37 additions and 18 deletions
|
|
@ -293,7 +293,7 @@ func (am *AccountManager) Register(client *Client, account string, callbackNames
|
|||
return errAccountCreation
|
||||
}
|
||||
|
||||
if restrictedNicknames[casefoldedAccount] || restrictedNicknames[skeleton] {
|
||||
if restrictedCasefoldedNicks[casefoldedAccount] || restrictedSkeletons[skeleton] {
|
||||
return errAccountAlreadyRegistered
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue