PluginRegistration

Mixes in a module constructor that registers the supplied IRCPlugin subclass to be instantiated on program startup/connect.

Parameters

Plugin

Plugin class of module.

priority

Priority at which to instantiate the plugin. A lower priority makes it get instantiated before other plugins. Defaults to 0.priority.

module_

String name of the module. Only used in case an error message is needed.