Jon Portnoy > Bot-Cobalt > Bot::Cobalt::Core::ContextMeta::Ignore

Download:
Bot-Cobalt-0.016002.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Module Version: 0.016002   Source  

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

syntax highlighting: