2.0/Modules/hs del

From AnopeWiki
Revision as of 20:50, 8 May 2014 by Azander (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search
Language

English

Service HostServ
Module hs_del
Author Anope

Description

Deletes the vhost assigned to the given nick from the database.

Access to this command requires the permission hostserv/del to be present in your opertype.

Commands

del nick
delall nick

Examples

/msg HostServ DEL Fred

/msg HostServ DELALL Fred

Default Configuration

/*
 * hs_del
 *
 * Provides the commands hostserv/del and hostserv/delall.
 *
 * Used for removing users' vHosts.
 */
module { name = "hs_del" }
command { service = "HostServ"; name = "DEL"; command = "hostserv/del"; permission = "hostserv/del"; }
command { service = "HostServ"; name = "DELALL"; command = "hostserv/delall"; permission = "hostserv/del"; }