applyCustomSettings

Changes a setting of a plugin, given both the names of the plugin and the setting, in string form.

This merely iterates the passed plugins and calls their IRCPlugin.setMemberByName

methods.

applyCustomSettings

Parameters

plugins IRCPlugin[]

Array of all IRCPlugins.

coreSettings CoreSettings

Pointer to a CoreSettings struct.

customSettings string[]

Array of custom settings to apply to plugins' own setting, in the string forms of "plugin.setting=value".

toPluginsOnly bool

Whether to apply settings to the core settings struct as well, or only to the plugins.

Return Value

Type: auto

true if no setting name mismatches occurred, false if it did.

See Also