The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Bot::Cobalt::Core::ContextMeta::Ignores - Ignore list management

SYNOPSIS

  FIXME

DESCRIPTION

A Bot::Cobalt::Core::ContextMeta subclass for managing an ignore list.

This is used by Bot::Cobalt::Core to provide a global ignore list for use by Cobalt::IRC and the core plugin set.

add

  ->add($context, $mask, $reason, $addedby)

Add a new ignore list entry for a specified mask.

At least a mask and reason must be specified; 'Reason' and 'AddedBy' can be used to tag ignore entries.

reason

  ->reason($context, $mask)

Returns preserved Reason for specified mask.

addedby

  ->addedby($context, $mask)

Returns preserved AddedBy for specified mask.

AUTHOR

Jon Portnoy <avenj@cobaltirc.org>

http://www.cobaltirc.org