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

Modules/operperms

From Inspire IRCd (InspIRCd)

Jump to: navigation, search

Description

This module adds the /operperms command, which lists all the commands an oper has access to.

It also shows oper levels as used by m_operlevels, if they are configured.

Configuration Tags

<operperms perline="10">

This option sets the number of allowed commands sent on each line, this defaults to 3 if the config value is not set.

Additional Modes

None

Additional Commands

/OPERPERMS <nickname>

Lists all commands an oper has access to use, example output:

<< operperms Om
>> :tiddles.chatspike.net NOTICE Om :*** Om used /OPERPERMS to view permissions of Om
>> :tiddles.chatspike.net NOTICE Om :Om's oper level is 4
>> :tiddles.chatspike.net NOTICE Om : [CBAN] CHGHOST CHGIDENT CONNECT [FREEZE]
>> :tiddles.chatspike.net NOTICE Om : GLINE KILL KLINE MODULES [OMMODE]
>> :tiddles.chatspike.net NOTICE Om : OPERMOTD OPERPERMS [OSTATS] [PARKSTATS] QLINE
>> :tiddles.chatspike.net NOTICE Om : SAJOIN [SAMODE] [SANICK] [SAPART] [SAQUIT]
>> :tiddles.chatspike.net NOTICE Om : SETHOST [SETIDENT] [SHUN] [SQLTEST] SQUIT
>> :tiddles.chatspike.net NOTICE Om : SWHOIS TRACE [UNFREEZE] ZLINE (DIE)
>> :tiddles.chatspike.net NOTICE Om : WALLOPS (RESTART) (REHASH) (LOADMODULE) (UNLOADMODULE)
>> :tiddles.chatspike.net NOTICE Om :End of Om's allowed command list

A server notice is also sent to all opers:

>> :tiddles.chatspike.net NOTICE Om :*** Om used /OPERPERMS to view permissions of Om

Commands shown with square braces "[]" around them are commands which are specified in the configuration file as commands the oper can use, but which are not valid commands (eg, m_samode isn't loaded for [SAMODE]) Those shown with normal brackets "()" around them are oper commands which exist but the oper does not have access to use.

Special Notes

Module available from the Unofficial Modules SVN Repository