diff mod_muc_log/mod_muc_log.lua @ 1037:892272432703

mod_muc_log: Fix mistake in previous merge (thanks Maranda)
author Matthew Wild <mwild1@gmail.com>
date Sat, 01 Jun 2013 23:20:09 +0100
parents a0fbe738317c
children 7153b723fd87
line wrap: on
line diff
--- a/mod_muc_log/mod_muc_log.lua	Sat Jun 01 23:02:40 2013 +0100
+++ b/mod_muc_log/mod_muc_log.lua	Sat Jun 01 23:20:09 2013 +0100
@@ -117,9 +117,9 @@
 	end
 end
 
-module:hook("message/bare", logIfNeeded, 1);
-module:hook("iq/bare", logIfNeeded, 1);
-module:hook("presence/full", logIfNeeded, 1);
+module:hook("message/bare", log_if_needed, 1);
+module:hook("iq/bare", log_if_needed, 1);
+module:hook("presence/full", log_if_needed, 1);
 
 local function reload()
 	inject_storage_config();