},
:desc => "Percentage of IRC penalty to consider when sending messages to prevent being disconnected for excess flood. Set to 0 to disable penalty control.")
Config.register Config::StringValue.new('core.db',
},
:desc => "Percentage of IRC penalty to consider when sending messages to prevent being disconnected for excess flood. Set to 0 to disable penalty control.")
Config.register Config::StringValue.new('core.db',
:validate => Proc.new { |v| Registry::formats.include? v },
:requires_restart => true,
:desc => "DB adaptor to use for storing the plugin data/registries. Options: " + Registry::formats.join(', '))
:validate => Proc.new { |v| Registry::formats.include? v },
:requires_restart => true,
:desc => "DB adaptor to use for storing the plugin data/registries. Options: " + Registry::formats.join(', '))
def repopulate_botclass_directory
template_dir = File.join Config::datadir, 'templates'
if FileTest.directory? @botclass
def repopulate_botclass_directory
template_dir = File.join Config::datadir, 'templates'
if FileTest.directory? @botclass