Age | Commit message (Collapse) | Author |
|
source
|
|
|
|
We delegate common hooks through the fast-delegation hash, and revert to
brute-force querying for everything else. Beware that this may breaks plugins
which add/remove delegatable methods at runtime, but no such plugin is
currently used (AFAIK).
|
|
|
|
Delegating a message requires checking if each of the loaded plugins
responds to a given method. This can be time consuming when many
plugins are loaded.
We set up a hash that maps each commonly delegated method to the list of
plugins that respond to it.
|
|
|
|
|
|
|
|
|
|
|
|
to CTCP PING and TIME commands in basics
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
nonconformat headers.
|
|
|
|
|
|
|
|
|
|
This ensures that locale files are found regardless of rubygems being loaded or not
|
|
returning a language string
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
loading the module
|
|
for gettext locale and rbot language files. This allows language names such as 'traditional_chinese' to be input as 'Traditional Chinese'
|