# HG changeset patch # User Kim Alvefur # Date 1492297372 -7200 # Node ID 04ae5b45e6c74833f1dce228c728d4b2e1db2424 # Parent 785465f8af3de6262a0332a0d4fdb1eca56dfdb5 mod_measure_storage: Assume store type is "keyval" if missing diff -r 785465f8af3d -r 04ae5b45e6c7 mod_measure_storage/mod_measure_storage.lua --- a/mod_measure_storage/mod_measure_storage.lua Sun Apr 16 00:58:02 2017 +0200 +++ b/mod_measure_storage/mod_measure_storage.lua Sun Apr 16 01:02:52 2017 +0200 @@ -43,7 +43,7 @@ local function hook_event(module) module:hook("store-opened", function(event) - event.store = wrap_store(module, event.store_name, event.store_type, event.store); + event.store = wrap_store(module, event.store_name, event.store_type or "keyval", event.store); end); end