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.
Takes no arguments.
Takes one argument. the server capability to query. Returns undef 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.
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:
irc_005
(RPL_ISUPPORT or RPL_PROTOCTL)
Denotes the capabilities of the server.
Once the next signal is received that is greater than irc_005
, the
plugin unregisters itself and emits an irc_isupport
signal.
ck
irc_isupport
Emitted by: the first signal received after irc_005
ARG0 will be the plugin object itself for ease of use.
This is emitted when the support report has finished.
Jeff japhy
Pinyan, japhy@perlmonk.org