diff -r ce04b8b144de -r afdce92d07be plugins/mod_iq.lua --- 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;