Software /
code /
prosody-modules
Diff
mod_measure_storage/mod_measure_storage.lua @ 2693:04ae5b45e6c7
mod_measure_storage: Assume store type is "keyval" if missing
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sun, 16 Apr 2017 01:02:52 +0200 |
parent | 2686:39cb2a51e779 |
line wrap: on
line diff
--- 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