POE::Component::IRC::Plugin::ISupport - A PoCo-IRC plugin that handles server capabilities
This handles the irc_005 messages that come from the server. They define the capabilities support by the server.
irc_005
new
Takes no arguments.
Returns a plugin object suitable for feeding to POE::Component::IRC's plugin_add method.
plugin_add
isupport
Takes one argument. the server capability to query. Returns a false value on failure or a value representing the applicable capability. A full list of capabilities is available at http://www.irc.org/tech_docs/005.html.
isupport_dump_keys
Takes no arguments, returns a list of the available server capabilities, which can be used with isupport.
This module handles the following PoCo-IRC signals:
Denotes the capabilities of the server.
all
Once the next signal is received that is greater than irc_005, it emits an irc_isupport signal.
irc_isupport
Emitted by: the first signal received after irc_005
ARG0 will be the plugin object itself for ease of use.
ARG0
This is emitted when the support report has finished.
Jeff japhy Pinyan, japhy@perlmonk.org
japhy
POE::Component::IRC
POE::Component::IRC::Plugin
To install POE::Component::IRC, copy and paste the appropriate command in to your terminal.
cpanm
cpanm POE::Component::IRC
CPAN shell
perl -MCPAN -e shell install POE::Component::IRC
For more information on module installation, please visit the detailed CPAN module installation guide.