registerPlugin

Registers a plugin to be instantiated on program startup/connect by creating a PluginRegistrationEntry and appending it to registeredPlugins.

void
registerPlugin

Parameters

priority Priority

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

ctor IRCPlugin function

Function pointer to a "constructor"/builder that instantiates the relevant plugin.

Meta