Software /
code /
prosody-modules
Changeset
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 | 1036:a44e755f7579 |
children | 1038:edb06824a5a4 |
files | mod_muc_log/mod_muc_log.lua |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
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();