Default access_level → 5

configuration-in-hiera
Robert Gerus 2015-04-28 11:02:31 +02:00
parent b98bae59de
commit dad51df229
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ class Repost
attr_accessor :commands
def register_command(keyword, &code)
access_level = Config.lookup("commands::#{keyword}::access_level", 5)
access_level = Config.lookup("commands::#{keyword}::access_level", 0)
self.commands = [] if self.commands.nil?
self.commands << {