Skip to content
forked from moshee/modignore

Ignore module for ZNC with added features over original

Notifications You must be signed in to change notification settings

srd424/modignore

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 

Repository files navigation

An ignore module for ZNC ≥1.0.

Pull requests welcome.

Install

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

Usage

 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.

To do

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

About

Ignore module for ZNC with added features over original

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • C++ 100.0%