Skip to content

Latest commit

 

History

History
28 lines (20 loc) · 1.02 KB

README.md

File metadata and controls

28 lines (20 loc) · 1.02 KB

An ignore module for ZNC ≥1.0.

Pull requests welcome.

Install

$ znc-buildmod ignore.cc
$ mv ignore.so ~/.znc/modules

Usage

 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.

To do

  • Ignore invites
  • Ignore DCC (I'll have to take a look at how this works in the IRC protocol)