Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

(ns_forbid) don't heuristically detect forbidden nicknames #48

Open
jesopo opened this issue Jun 30, 2021 · 1 comment
Open

(ns_forbid) don't heuristically detect forbidden nicknames #48

jesopo opened this issue Jun 30, 2021 · 1 comment

Comments

@jesopo
Copy link
Member

jesopo commented Jun 30, 2021

md = metadata_find(mu, "private:freeze:freezer");
if (md == NULL || mu->registered != mu->lastlogin ||
MOWGLI_LIST_LENGTH(&mu->nicks) != 1 ||
strcmp(mu->email, FORBID_EMAIL))
{

I know this works in practice, but it seems a bit imprecise. can't there be a metadata key for private:forbid:isforbid or so?

@kaniini
Copy link
Contributor

kaniini commented Jun 30, 2021

Yes, most likely.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants