]> jfr.im git - irc/quakenet/newserv.git/blame - chanserv/chancmds/ban.c
Assorted tweaks.
[irc/quakenet/newserv.git] / chanserv / chancmds / ban.c
CommitLineData
d768a213 1/* Automatically generated by refactor.pl.
2 *
3 *
88d191e3 4 * CMDNAME: ban
d768a213 5 * CMDLEVEL: QCMD_AUTHED | QCMD_ALIAS
6 * CMDARGS: 3
7 * CMDDESC: Permanently bans a hostmask on a channel.
8 * CMDFUNC: csc_dopermban
9 * CMDPROTO: int csc_dopermban(void *source, int cargc, char **cargv);
10 * CMDHELP: Usage: BAN <channel> <hostmask> [<reason>]
11 * CMDHELP: Permanently bans the provided hostmask on the channel. If the ban is
12 * CMDHELP: removed from the channel e.g. by a channel op or the BANTIMER feature, the
13 * CMDHELP: ban will be reapplied if a matching user joins the channel. Bans
0a53499c 14 * CMDHELP: set with the PERMBAN command can be removed with BANCLEAR or BANDEL. Any users
d768a213 15 * CMDHELP: matching the hostmask will be kicked from the channel.
16 * CMDHELP: Where:
17 * CMDHELP: channel - channel to set a ban on
18 * CMDHELP: hostmask - hostmask (nick!user@host) to ban.
19 * CMDHELP: reason - reason for the ban. This will be used in kick messages when kicking
20 * CMDHELP: users matching the ban. If this is not provided the generic message
21 * CMDHELP: \"Banned.\" will be used.
22 * CMDHELP: BAN requires master (+m) access on the named channel.
23 * CMDHELP: BAN is an alias for PERMBAN.
24 */
25
26/* code in permban.c */