author | Waqas Hussain <waqas20@gmail.com> |
Thu, 02 Dec 2010 16:58:24 +0500 | |
changeset 3679 | afdce92d07be |
parent 3678 | ce04b8b144de |
child 3680 | 408a19977125 |
--- a/plugins/mod_iq.lua Thu Dec 02 16:56:30 2010 +0500 +++ b/plugins/mod_iq.lua Thu Dec 02 16:58:24 2010 +0500 @@ -13,7 +13,7 @@ local full_sessions = full_sessions; local bare_sessions = bare_sessions; -if module::get_host_type() == "local" then +if module:get_host_type() == "local" then module:hook("iq/full", function(data) -- IQ to full JID recieved local origin, stanza = data.origin, data.stanza;