summaryrefslogtreecommitdiff
path: root/docs/help/in/ban.in
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2001-03-03 20:48:23 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2001-03-03 20:48:23 +0000
commit4f2be94115fda42a31407e4f5ed12faecdafcbb1 (patch)
treeb6e05e3b0c77a54f4e4a5921d168028c27596d50 /docs/help/in/ban.in
parent25a013e4c86d67b797fabc3c97a1792a35bb2b7e (diff)
downloadirssi-4f2be94115fda42a31407e4f5ed12faecdafcbb1.zip
/BANTYPE -> /SET ban_type. /BAN: -type option added to override default
ban type. git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1318 dbcabf3a-b0e7-0310-adc4-f8d773084564
Diffstat (limited to 'docs/help/in/ban.in')
-rw-r--r--docs/help/in/ban.in18
1 files changed, 14 insertions, 4 deletions
diff --git a/docs/help/in/ban.in b/docs/help/in/ban.in
index babd961c..4f8a541d 100644
--- a/docs/help/in/ban.in
+++ b/docs/help/in/ban.in
@@ -2,13 +2,23 @@
@SYNTAX:ban@
Bans the specified nick or userhost mask.
-If nick is given as parameter, the current
-BANTYPE affects the ban mask.
-Example:
+If nick is given as parameter, the ban type is used to generate the ban
+mask. /SET ban_type specified the default ban type. Ban type is one of
+the following:
+
+ Normal - *!user@*.domain.net
+ Host - *!*@host.domain.net
+ Domain - *!*@*.domain.net
+ Custom [nick] [user] [host] [domain]
+
+Examples:
/BAN looser - This bans the nick 'looser'
/BAN *!*@*.org - This bans all the users coming from any
.org domain.
-See also: BANTYPE, KNOCKOUT
+ /SET ban_type custom nick domain - nick!*@*.domain.net
+ /SET ban_type custom user host - *!user@host.domain.net
+
+See also: KNOCKOUT, KICKBAN