X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=data%2Frbot%2Fplugins%2Fri.rb;h=763dd6589c44b79e68c59c17cfc3da2c9f76003c;hb=ff452ad1bf111025f0661274ac7fb8b2f769a293;hp=1c4cc84d4edb9b0336d33c32cf0fecf012c40820;hpb=fdab6548b5c7c71e4ce816635f152ad222db0836;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/data/rbot/plugins/ri.rb b/data/rbot/plugins/ri.rb index 1c4cc84d..763dd658 100644 --- a/data/rbot/plugins/ri.rb +++ b/data/rbot/plugins/ri.rb @@ -16,7 +16,7 @@ class RiPlugin < Plugin RI_COMMAND = %w{ri -f simple -T} - BotConfig.register BotConfigIntegerValue.new('ri.max_length', + Config.register Config::IntegerValue.new('ri.max_length', :default => 512, :desc => "Maximum length of ri entry (in bytes) which is ok to be sent to channels or other users")