mod_storage_muc_log/mod_storage_muc_log.lua
changeset 1569 711fabfe6604
parent 1568 c357039c1ab1
child 1593 3e4d15ae2133
child 1757 54c8a0cb2996
--- 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