The InspIRCd Project
Home | Developers | Wiki | Forums | Bug Tracker | SVN | Download | Blog
Personal tools

Modules/operlevels

From Inspire IRCd (InspIRCd)

Jump to: navigation, search

Description

Allows networks and servers to give each oper a 'level', an arbitary number which indicates their rank in the organizational structure of the network. This can for example prevent global operators from killing server admins, etc.

Configuration Tags

To use this module you must extend your <type> tags in your Configuration to include a 'level' variable:
<type name="Helper" classes="HostCloak" host="helper.chatspike.net" level="1">

Higher levels indicate a higher rank. When an oper attempts to /kill another oper, the ranks of both users will be checked, and if the target's rank is greater than that of the source oper, the kill will fail and all opers with +s will be notified as follows:

13:31 -test.chatspike.net- Oper Guest595064175 (level 1) attempted to /kill a higher oper: [Brain] (level 4): Reason: test
-
13:31 -test.chatspike.net- Oper Guest595064175 attempted to /kill you!

Additional Modes

None

Additional Commands

None

Special Notes

Please note that you can still g/z/k line an oper. This is for security reasons, as this will be your only way to ban for example someone who cracks your netadmin passwords. To prevent opers from being banned from the network you should use exemptions, not this module.