mirror of
https://github.com/jeremyd/ergo.git
synced 2026-05-12 09:08:36 -07:00
be more pedantic about distinguishing skeletons and casefolds
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user