summaryrefslogtreecommitdiff
path: root/src/irc/core/bans.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2000-07-23 23:19:22 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2000-07-23 23:19:22 +0000
commitc529fe0096eddd0e6e12157cf8486ad9117de900 (patch)
tree2f39a225641823277f9acea56a95a6081e2eec99 /src/irc/core/bans.c
parent3e9164df1b9ad8433d3c46745b84c5df5f5207df (diff)
downloadirssi-c529fe0096eddd0e6e12157cf8486ad9117de900.zip
Added syntaxes of all commands in comments, they're going to be used to
autogenerate help files. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@529 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'src/irc/core/bans.c')
-rw-r--r--src/irc/core/bans.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/irc/core/bans.c b/src/irc/core/bans.c
index 914fad65..b5b4e886 100644
--- a/src/irc/core/bans.c
+++ b/src/irc/core/bans.c
@@ -196,16 +196,20 @@ static void command_set_ban(const char *data, IRC_SERVER_REC *server, WI_IRC_REC
cmd_params_free(free_arg);
}
+/* SYNTAX: BANTYPE normal|host|domain|custom
+ BANTYPE custom [nick] [user] [host] [domain] */
static void cmd_bantype(const char *data)
{
ban_set_type(data);
}
+/* SYNTAX: BAN <nicks/masks> */
static void cmd_ban(const char *data, IRC_SERVER_REC *server, WI_IRC_REC *item)
{
command_set_ban(data, server, item, TRUE);
}
+/* SYNTAX: UNBAN <masks> */
static void cmd_unban(const char *data, IRC_SERVER_REC *server, WI_IRC_REC *item)
{
command_set_ban(data, server, item, FALSE);