NAME

POE::Component::IRC::Plugin::Proxy::Recall - A PoCo-IRC plugin which can greet proxy clients with the messages they missed while they were away, among other things.

SYNOPSIS

use Bondage::Recall;

$irc->plugin_add('Recall', Bondage::Recall->new( Mode => 'missed' ));

DESCRIPTION

POE::Component::IRC::Plugin::Proxy::Recall is a POE::Component::IRC plugin. It uses on Log::Log4perl to log messages and CTCP ACTIONs to either #some_channel.log or some_nickname.log in the supplied path.

This plugin requires the IRC component to be POE::Component::IRC::State or a subclass thereof. It also requires a POE::Component::IRC::Plugin::BotTraffic to be in the plugin pipeline.

METHODS

new

One optional argument:

'Mode', which public messages you want it to recall. 'missed', the default, makes it only recall
public messages that were received while no proxy client was attached. 'all' will recall
public messages from all channels since they were joined. 'none' will recall none. The plugin
will always recall missed private messages, regardless of this option.

Returns a plugin object suitable for feeding to POE::Component::IRC's plugin_add() method.

AUTHOR

Hinrik Örn Sigurðsson, hinrik.sig@gmail.com