diff options
author | Kim Alvefur <zash@zash.se> | 2021-12-02 01:14:55 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2021-12-02 01:14:55 +0100 |
commit | a3ea469ed9ebeab2c4db54712f0b8ace3f28e15f (patch) | |
tree | 73afa5f5b01ce5511adea6f669f1e707ae2fcb1e /plugins/mod_scansion_record.lua | |
parent | 5797a3f65dd0ae2c8393b6992522fcfb34be2fc5 (diff) | |
download | prosody-a3ea469ed9ebeab2c4db54712f0b8ace3f28e15f.tar.gz prosody-a3ea469ed9ebeab2c4db54712f0b8ace3f28e15f.zip |
util.id: Adjust entropy levels, with rationales
Modules using ids for logging should not need the now pretty large
medium one.
Diffstat (limited to 'plugins/mod_scansion_record.lua')
-rw-r--r-- | plugins/mod_scansion_record.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_scansion_record.lua b/plugins/mod_scansion_record.lua index 6d57c209..5fefd398 100644 --- a/plugins/mod_scansion_record.lua +++ b/plugins/mod_scansion_record.lua @@ -8,7 +8,7 @@ local dt = require "util.datetime"; local dm = require "util.datamanager"; local st = require "util.stanza"; -local record_id = id.medium():lower(); +local record_id = id.short():lower(); local record_date = os.date("%Y%b%d"):lower(); local header_file = dm.getpath(record_id, "scansion", record_date, "scs", true); local record_file = dm.getpath(record_id, "scansion", record_date, "log", true); |