mod_muc_log: Fix mistake in previous merge (thanks Maranda)
authorMatthew Wild <mwild1@gmail.com>
Sat, 01 Jun 2013 23:20:09 +0100
changeset 1037 892272432703
parent 1036 a44e755f7579
child 1038 edb06824a5a4
mod_muc_log: Fix mistake in previous merge (thanks Maranda)
mod_muc_log/mod_muc_log.lua
--- 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();