diff options
author | Timo Sirainen <cras@irssi.org> | 2000-07-23 23:19:22 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-07-23 23:19:22 +0000 |
commit | c529fe0096eddd0e6e12157cf8486ad9117de900 (patch) | |
tree | 2f39a225641823277f9acea56a95a6081e2eec99 /src/irc/core/bans.c | |
parent | 3e9164df1b9ad8433d3c46745b84c5df5f5207df (diff) | |
download | irssi-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.c | 4 |
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); |