Software /
code /
prosody
Diff
plugins/mod_iq.lua @ 3679:afdce92d07be
mod_iq: Fix an extra character in previous commit...
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Thu, 02 Dec 2010 16:58:24 +0500 |
parent | 3678:ce04b8b144de |
child | 4760:55501fc4394b |
line wrap: on
line diff
--- 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;