[DONE] Prevent chanops and higher from getting banned
Posted: Tue Dec 20, 2016 7:51 pm
This module prevents chanops/hops from banning anyone who has +o, +a and/or +q. It will check every banmask against people who have any of those list modes, using both their vhost and cloaked host. Opers can ban anyone regardless, but they can also still be affected by other bans if they don't have a high enough list mode. This is done to maintain fairness in the channel, but opers may sometimes need to set insane channel bans. Similar to my other mod m_fixhop, this one will simply strip the affected masks and let the IRCd handle further error processing.
Note: Afaik Unreal is unable to "ask" your NickServ flavour about access lists from within a module. So if you have Anope and did /cs access #chan add <nick> 10 it will auto-op that person when they authenticate, but Unreal knows nothing about this list. As such, it simply checks if they have the proper list mode right now.
Protip: use a bouncer such as ZNC
Git repo
Note: Afaik Unreal is unable to "ask" your NickServ flavour about access lists from within a module. So if you have Anope and did /cs access #chan add <nick> 10 it will auto-op that person when they authenticate, but Unreal knows nothing about this list. As such, it simply checks if they have the proper list mode right now.
Protip: use a bouncer such as ZNC
Git repo