changeset 1569:711fabfe6604

mod_storage_muc_log: Fix typo
author Kim Alvefur <zash@zash.se>
date Mon, 10 Nov 2014 15:12:57 +0100
parents c357039c1ab1
children 67fafebdceb7
files mod_storage_muc_log/mod_storage_muc_log.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/mod_storage_muc_log/mod_storage_muc_log.lua	Mon Nov 10 14:51:36 2014 +0100
+++ b/mod_storage_muc_log/mod_storage_muc_log.lua	Mon Nov 10 15:12:57 2014 +0100
@@ -25,7 +25,7 @@
 	if am == pm then
 		module:log("warn", "Timestamps in AM and PM are identical in your locale, expect timestamps to be wrong");
 	end
-	if os_date("!%X", os.time(t)) ~= os_date(timef, os_date(t)) then
+	if os_date("!%X", os.time(t)) ~= os_date(timef, os.time(t)) then
 		module:log("warn", "Timestamp format differ from what mod_muc_log used, this module may not work correctly");
 	end
 end