[REQUEST] Kick opers from opers only chnnels on de-oper (/mode nick -o)

These are old archives. They are kept for historic purposes only.

Moderators: Gottem, Supporters

Post Reply
PeGaSuS
Official supporter
Posts: 96
Joined: Tue Jun 27, 2017 4:42 pm
Contact:

[REQUEST] Kick opers from opers only chnnels on de-oper (/mode nick -o)

Post by PeGaSuS »

Right now, when a oper do de-oper himself, their nickname is kept on the opers only channels as if they're using their network status (they're also able to read and send messages to those channels, despite they don't have their "powers" anymore).
I, personally, think that's kinda counter-intuitive, since sometimes a user do /mode nick -o to mark themselves as away or not available for help, and if they demote themselves from the network status that they have, they shouldn't be allowed to be on those channels.
So, I came across the idea of having a module that would "kick" those persons out of the oper only channels (could be channels specified on the conf file or the module could check for chmode +O and if those nicks were present, the module would act).
Looking forward for opinions.
Best regards.
IRC Network: PTirc - GitHub: TehPeGaSuS - Help and support: #unreal-support
Post Reply