From c529fe0096eddd0e6e12157cf8486ad9117de900 Mon Sep 17 00:00:00 2001 From: Timo Sirainen Date: Sun, 23 Jul 2000 23:19:22 +0000 Subject: 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 --- src/irc/core/bans.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/irc/core/bans.c') 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 */ static void cmd_ban(const char *data, IRC_SERVER_REC *server, WI_IRC_REC *item) { command_set_ban(data, server, item, TRUE); } +/* SYNTAX: UNBAN */ static void cmd_unban(const char *data, IRC_SERVER_REC *server, WI_IRC_REC *item) { command_set_ban(data, server, item, FALSE); -- cgit v1.2.3