An ignore module for ZNC ≥1.0.
Pull requests welcome.
$ znc-buildmod ignore.cpp
$ mv ignore.so ~/.znc/modules
Command | Arguments | Description
------------|-----------------------------------|----------------------------------------------------------------------------
AddHost | [mMaAnNcCjpqk] `<nick!user@host>` | Ignore a hostmask from [m]essage, [a]ction, [n]otice, [c]tcp, [j]oins,
| | [p]arts, [q]uits, nic[k] changes, uppercase = private
AddPattern | [mMaAnNcCjpqk] `<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)