LogAn::Inc::Main: uses new SBDB::Env#[]-API
This commit is contained in:
parent
58c0849d2b
commit
d49ab73666
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ module LogAn::Inc
|
|||
def config env, db, type = nil, flags = nil
|
||||
$stderr.puts "Open Database \"sids.cnf\" #{db.inspect} (#{type.inspect})"
|
||||
type ||= 1+4
|
||||
ret = env[ 'sids.cnf', db, flags || SBDB::RDONLY]
|
||||
ret = env[ 'sids.cnf', db, :flags => flags || SBDB::RDONLY]
|
||||
ret = AutoValueConvertHash.new ret if type&4 > 0
|
||||
ret = Cache.new ret, type&3 if type&3 > 0
|
||||
ret
|
||||
|
|
Loading…
Reference in a new issue