POE::Compoent::IRC::Plugin::MultiProxy::Recall - A PoCo-IRC plugin which can greet proxy clients with the messages they missed while they were away


 use POE::Compoent::IRC::Plugin::MultiProxy::Recall;

 $irc->plugin_add('Recall', POE::Compoent::IRC::Plugin::MultiProxy::Recall->new( Mode => 'missed' ));


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. It will be added automatically if it is not present.



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.


Hinrik Örn Sigurðsson,