X-Git-Url: https://git.netwichtig.de/gitweb/?a=blobdiff_plain;f=data%2Frbot%2Fplugins%2Fautoop.rb;h=303e3d3ffc2545e867975bb6607305b73f79a544;hb=6b8cca66628db3634296e5cb7e065f84555cf7cd;hp=212da27bc9769da105e12cbccf951e3b4461f4c1;hpb=0153b9187f957fcfcea9cc996e21c8c8c92db468;p=user%2Fhenk%2Fcode%2Fruby%2Frbot.git diff --git a/data/rbot/plugins/autoop.rb b/data/rbot/plugins/autoop.rb index 212da27b..303e3d3f 100644 --- a/data/rbot/plugins/autoop.rb +++ b/data/rbot/plugins/autoop.rb @@ -1,5 +1,5 @@ class AutoOP < Plugin - BotConfig.register BotConfigBooleanValue.new('autoop.on_nick', + Config.register Config::BooleanValue.new('autoop.on_nick', :default => true, :desc => "Determines if the bot should auto-op when someone changes nick and the new nick matches a listed netmask")