SoftSnow XChat Filter 1.2.3 (from backup file)v1.2.3
commit4478a65a70536867a046838b1d94da1060b6f55d
authorJakub Narebski <jnareb@gmail.com>
Sun, 26 Oct 2008 18:08:55 +0000 (26 19:08 +0100)
committerJakub Narebski <jnareb@gmail.com>
Sun, 26 Oct 2008 18:08:55 +0000 (26 19:08 +0100)
tree861d46abb492a3f0b5d2f4607682fb2768cd1cbc
parent97e19afc59b894957230662872f3bb02b7d52b14
SoftSnow XChat Filter 1.2.3 (from backup file)

Expand list of commands to include DEBUG, PRINT, ALLOW, ADD, DELETE,
SAVE and LOAD.
 * DEBUG prints information about chanel, server, network and host
   from IRC::get_info(<n>)
 * PRINT writes out all rules used, both 'allow' and 'deny'
 * ALLOW to switch between using and not using 'allow'  rules,
   taken into account before 'deny' rules.  This allow for example
   showing '@search' lines, even if this rule matches one of 'deny'
   rules.  Currently list of rules is hardcoded in @allow_rules
 * ADD allows to add (append) rule to filter
 * DELETE allows to delete last rule, or rule with given number
 * SAVE and LOAD (or RELOAD) to save or load list of rules, one rule
   per line, to '~/.xchat/SoftSnow_filter.conf' file ($filter_file)

Move all filters from body of isFiltered() subroutine to @filter_deny
as string literals, using '(?i)' extended regexp syntax as prefix to
mark case-insensitive regexps (using string literals allow easy saving
and restoring filter).

Use IRC::get_info(7) instead of IRC::get_info(3) to be more exact when
filter is limited to single server: better support for limited
filtering together witha utoreconnect feature.

Signed-off-by: Jakub Narebski <jnareb@gmail.com>
SoftSnow_filter.pl