-
Notifications
You must be signed in to change notification settings - Fork 5
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
Feature request: Configurable user/host masks #6
Comments
That would be a must have. With so many free znc providers, webchats with almost fixed nicknames, etc. tracking by nickname would be the best option. Probably add a way to ignore common nicknames like Guest*, kiwi*, etc. |
Okay. While that option isn't a core option yet, here's a tcl script that will allow to track stats by |
@florian-sander could you at least update it to use |
Okay.. I've edited my script again and it's ready to roll. |
When auto-adding users, stats.mod will currently identify them by creating something like ![username]@.[hostname]. That way, users will be identified independently of their actual nickname.
Several people have requested changes to this identification scheme, so It would be great if it could be configurable. Some examples of alternative methods:
![username]@[host] => use full host name
*![username]@ => only use username on local machine
[nick]!@ => track strictly by nick
If someone wants to work on this, here is a hint where to start: in core\misc.c is a function called maskstricthost. If I remember correctly, this function is responsible for creating the host mask.
The text was updated successfully, but these errors were encountered: