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

replace chm_staff and chm_hidden with cmode->priv and CHM_HIDDEN #288

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

jesopo
Copy link
Member

@jesopo jesopo commented Oct 10, 2021

the first commit in this returns a *ChannelMode from cflag_add() so that ->priv and ->flags can be modified without having to add a bunch of params to cflag_add()

the purpose for this was to give +M/operpeace a priv instead of the setter having to be an admin, but this also allowed me to get rid off the duplicated code in chm_staff() and chm_hidden()

Copy link

@ghost ghost left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Approved.

@jesopo jesopo marked this pull request as draft October 30, 2021 14:58
@jesopo
Copy link
Member Author

jesopo commented Oct 30, 2021

draft because I've realised set_channel_mode needs work to not send new-flavour hidden modes to everyone

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

Successfully merging this pull request may close these issues.

1 participant