operpasswd.md 694 B

[PORT] operpasswd

Another port of one of AngryWolf's modules. =]
This lets the IRCd automatically kill users with too many failed OPER attempts.

Config block:

operpasswd {
    max-failed-operups 3;
    failop-kill-reason "Too many failed OPER attempts lol";

You have to specify something for max-failed-operups in order to get the kill to work, since the module sorta assumes 0 which means "disable that shit fam". The kill reason defaults to "Too many failed OPER attempts".

Note: in earlier versions you also had the settings enable-global-notices and enable-logging, but Unreal 6 has improved logging so those are now redundant and have been removed.