-
Notifications
You must be signed in to change notification settings - Fork 43
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
Add notifications to IRCops when they get restricted information. #171
base: master
Are you sure you want to change the base?
Add notifications to IRCops when they get restricted information. #171
Conversation
…re/oper-only-info-notifications
(FYI - the XFLAG part of this needs testing by someone with DALnet services.) |
sendto_one(sptr, ":%s %d %s %s :%s", me.name, servicestag->raw, parv[0], name, servicestag->tag); | ||
/* Otherwise, it can only be viewed by users with the correct umode (usually +o or higher) */ | ||
else if(sptr->umode & servicestag->umode) | ||
sendto_one(sptr, ":%s %d %s %s :%s [IRCop Restricted Information]", me.name, servicestag->raw, parv[0], name, servicestag->tag); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is problematic and conflicts with our current SVSTAG usage.
Kobi.
Per discussion in #operators, please hold on this one for now. Thank you for jumping on it and the initiative -- we just need to all discuss how to consistently handle this across services replies and ircd replies. There are some admin-only responses to consider (which would be marked admin-only instead of oper-only), which may include SVSTAGS. So let's keep this open to discuss as a low-priority item. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This needs more discussion per my note on July 22.
Addresses issue #141.
Warn IRCops that normal users can't see what they're seeing, when they get:
RPL_WHOISACTUALLY
)RPL_WHOISTEXT
)XFLAG_HIDE_MODE_LISTS
is set.