aboutsummaryrefslogtreecommitdiffstats
path: root/teal-src/prosody
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2024-02-24 14:35:17 +0100
committerKim Alvefur <zash@zash.se>2024-02-24 14:35:17 +0100
commit01a44e88db7061b2e908d5d77cb689009beb549c (patch)
tree6322a724c531a6e1b2e3737ee62f1a421d6807fc /teal-src/prosody
parentcef925e9a515861124482af9d606658de73ce0ba (diff)
downloadprosody-01a44e88db7061b2e908d5d77cb689009beb549c.tar.gz
prosody-01a44e88db7061b2e908d5d77cb689009beb549c.zip
mod_cron: Fix log format to account for float that was integer before
Diffstat (limited to 'teal-src/prosody')
-rw-r--r--teal-src/prosody/plugins/mod_cron.tl2
1 files changed, 1 insertions, 1 deletions
diff --git a/teal-src/prosody/plugins/mod_cron.tl b/teal-src/prosody/plugins/mod_cron.tl
index 13f4a588..4defc808 100644
--- a/teal-src/prosody/plugins/mod_cron.tl
+++ b/teal-src/prosody/plugins/mod_cron.tl
@@ -108,7 +108,7 @@ scheduled = module:add_timer(cron_initial_delay, function() : number
task_runner:run(task);
end
end
- module:log("debug", "Wait %ds", delay);
+ module:log("debug", "Wait %gs", delay);
return delay;
end);