From 9e970ffd6dc81f82671ddab928c4c526b5d31a41 Mon Sep 17 00:00:00 2001 From: freenode!ChrisAM Date: Tue, 18 May 2010 22:53:22 -0400 Subject: [PATCH] Add help/opers/extban for users and opers. --- help/Makefile.in | 2 +- help/opers/extban | 35 +++++++++++++++++++++++++++++++++++ help/opers/index | 33 +++++++++++++++++---------------- help/users/index | 19 ++++++++++--------- 4 files changed, 63 insertions(+), 26 deletions(-) create mode 100644 help/opers/extban diff --git a/help/Makefile.in b/help/Makefile.in index 6c487bc0..534b36f8 100644 --- a/help/Makefile.in +++ b/help/Makefile.in @@ -16,7 +16,7 @@ SYMLINKS= topic accept cmode admin names links away whowas \ version kick who invite quit join list nick oper part \ time credits motd userhost users whois ison lusers \ user help pass error challenge knock ping pong \ - cprivmsg cnotice map trace chantrace + cprivmsg cnotice map trace chantrace extban all: build: diff --git a/help/opers/extban b/help/opers/extban new file mode 100644 index 00000000..90d86f1f --- /dev/null +++ b/help/opers/extban @@ -0,0 +1,35 @@ +MODE <+|-> $[~][:] + +Extended bans (ban conditionals) allow different checks than the usual +nick!user@host or nick!user@ip match to determine whether someone should +be banned, quieted, exempted or invited. + +Extended bans are of the form $[~][:]. The is one +character (case insensitive) and determines the type of match. Most types +allow or require an extra field . If the tilde (~) is present, the +result of the comparison will be negated, unless the ban is invalid in which +case it will never match. Invalid bans are ones where is missing but +required or where is otherwise invalid as noted below. + +Unless noted below, all types can be used with +b, +q, +e and +I. + + extb Type - DESCRIPTION +------------------------------------------------------------------------ + $a - Matches all logged in users + $a: - Matches users logged in with a username matching the mask + (* and ? wildcards) + $c: - Matches users who are on the given channel; this is only + valid if the channel exists and is not +s or +p. (The ops + of the channel the ban is on cannot necessarily see whether + the user is in the target channel, so it should not + influence whether they can join either.) + $o - Matches opers (most useful with +I) + $r: - Matches users with a realname (gecos) matching the mask + (* and ? wildcards); this can only be used with +b and +q + $s: - matches users connected to a server matching the mask + (* and ? wildcards); this can only be used with +b and +q + $j: - matches users who are or are not banned from a specified + channel + $x: - Bans all users with matching nick!user@host#gecos + $z - Matches all SSL users + diff --git a/help/opers/index b/help/opers/index index 56171ec4..d42f4f76 100644 --- a/help/opers/index +++ b/help/opers/index @@ -5,19 +5,20 @@ CHALLENGE CHANTRACE CLOSE CMODE CNOTICE CONNECT CPRIVMSG CREDITS DIE DLINE ERROR ETRACE HELP INDEX INFO INVITE -ISON JOIN KICK KILL -KLINE KNOCK LINKS LIST -LOCOPS LUSERS MAP MASKTRACE -MODLIST MODLOAD MODRELOAD MODRESTART -MODUNLOAD MOTD NAMES NICK -NOTICE OPER OPERSPY OPERWALL -PART PASS PING PONG -POST PRIVMSG QUIT REHASH -RESTART RESV SCAN SERVER -SET SJOIN SNOMASK SQUIT -STATS SVINFO TESTGECOS TESTLINE -TESTMASK TIME TOPIC TRACE -UHELP UMODE UNDLINE UNKLINE -UNREJECT UNRESV UNXLINE USER -USERHOST USERS VERSION WALLOPS -WHO WHOIS WHOWAS XLINE +EXTBAN ISON JOIN KICK +KILL KLINE KNOCK LINKS +LIST LOCOPS LUSERS MAP +MASKTRACE MODLIST MODLOAD MODRELOAD +MODRESTART MODUNLOAD MOTD NAMES +NICK NOTICE OPER OPERSPY +OPERWALL PART PASS PING +PONG POST PRIVMSG QUIT +REHASH RESTART RESV SCAN +SERVER SET SJOIN SNOMASK +SQUIT STATS SVINFO TESTGECOS +TESTLINE TESTMASK TIME TOPIC +TRACE UHELP UMODE UNDLINE +UNKLINE UNREJECT UNRESV UNXLINE +USER USERHOST USERS VERSION +WALLOPS WHO WHOIS WHOWAS +XLINE diff --git a/help/users/index b/help/users/index index 654cf5f5..5f65c0d9 100644 --- a/help/users/index +++ b/help/users/index @@ -2,12 +2,13 @@ Help topics available to users: ACCEPT ADMIN AWAY CHALLENGE CMODE CNOTICE CPRIVMSG CREDITS -ERROR HELP INDEX INFO -INVITE ISON JOIN KICK -KNOCK LINKS LIST LUSERS -MAP MOTD NAMES NICK -NOTICE OPER PART PASS -PING PONG PRIVMSG QUIT -STATS TIME TOPIC TRACE -UMODE USER USERHOST USERS -VERSION WHO WHOIS WHOWAS +ERROR EXTBAN HELP INDEX +INFO INVITE ISON JOIN +KICK KNOCK LINKS LIST +LUSERS MAP MOTD NAMES +NICK NOTICE OPER PART +PASS PING PONG PRIVMSG +QUIT STATS TIME TOPIC +TRACE UMODE USER USERHOST +USERS VERSION WHO WHOIS +WHOWAS