2.0/Modules/os forbid

From AnopeWiki
Jump to: navigation, search
Language

English

Service OperServ
Module os_forbid
Author Anope

Description

Forbid allows you to forbid usage of certain nicknames, channels, and email addresses. Wildcards are accepted for all entries.

NOTE: Access to this command requires the permission operserv/forbid to be present in your opertype.

Commands

forbid ADD {NICK|CHAN|EMAIL|REGISTER} [+expiry] entry reason
forbid DEL {NICK|CHAN|EMAIL|REGISTER} entry
forbid LIST [NICK|CHAN|EMAIL|REGISTER]

Examples

/msg OperServ FORBID LIST

/msg OperServ FORBID ADD NICK IRCOP Prohibited because of confusion.

/msg OperServ FORBID DEL CHAN #Weed

Default Configuration

/*
 * os_forbid
 *
 * Provides the command operserv/forbid.
 *
 * Used to forbid specific nicks, channels, emails, etc. from being used.
 */
module { name = "os_forbid" }
command { service = "OperServ"; name = "FORBID"; command = "operserv/forbid"; permission = "operserv/forbid"; }