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

prepend tilde to username earlier in register_local_user #299

Open
jesopo opened this issue Nov 21, 2021 · 0 comments
Open

prepend tilde to username earlier in register_local_user #299

jesopo opened this issue Nov 21, 2021 · 0 comments

Comments

@jesopo
Copy link
Member

jesopo commented Nov 21, 2021

register_local_user() calls check_client() before a ~ is prepended to a user's username and this means that a devastating amount of lines in check_client() need to manually apply the ~ for snotes and log lines as seen below

source_p->name, IsGotId(source_p) ? "" : "~",

source_p->name, IsGotId(source_p) ? "" : "~",

source_p->name, IsGotId(source_p) ? "" : "~",

source_p->name, IsGotId(source_p) ? "" : "~",

source_p->name, IsGotId(source_p) ? "" : "~",

source_p->name, IsGotId(source_p) ? "" : "~",

source_p->name, IsGotId(source_p) ? "" : "~",

source_p->name, IsGotId(source_p) ? "" : "~",

source_p->name, IsGotId(source_p) ? "" : "~",

source_p->name, IsGotId(source_p) ? "" : "~",

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

No branches or pull requests

1 participant