mod_storage_muc_log: Fix typo
authorKim Alvefur <zash@zash.se>
Mon, 10 Nov 2014 15:12:57 +0100
changeset 1569 711fabfe6604
parent 1568 c357039c1ab1
child 1570 67fafebdceb7
mod_storage_muc_log: Fix typo
mod_storage_muc_log/mod_storage_muc_log.lua
--- 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