An ignore module for ZNC ≥1.0.
Pull requests welcome.
$ znc-buildmod ignore.cc
$ mv ignore.so ~/.znc/modules
Command | Arguments | Description
------------|-------------------------------|--------------------------------------------------------------------------------
AddHost | [mMaAnNcC] `<nick!user@host>` | Ignore a hostmask from [m]essage, [a]ction, [n]otice, [c]tcp; uppercase = private
AddPattern | [mMaAnNcC] `<regex>` | Ignore text matching a regular expression
Clear | | Clear all ignore entries
Del | `<n>` | Remove an ignore entry by index
Help | search | Generate this output
List | | Display the ignore list
The required arguments for AddHost and AddPattern should be "quoted" if they contain spaces.
- Ignore invites
- Ignore DCC (I'll have to take a look at how this works in the IRC protocol)