# HG changeset patch # User Matthew Wild # Date 1370125209 -3600 # Node ID 892272432703f458e566848efacad1f8c0f63825 # Parent a44e755f757984c09e410a979813bb50955b062f mod_muc_log: Fix mistake in previous merge (thanks Maranda) diff -r a44e755f7579 -r 892272432703 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();