aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_iq.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-12-02 16:58:24 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-12-02 16:58:24 +0500
commitcdfc10bfc49bc2d92e85d46a330daaa3de0fa4bc (patch)
treecbb6cc0268432e3a1d1ce0a756e718b0716470e6 /plugins/mod_iq.lua
parent10829149a51ed4a2f67935995cf6373030ceb708 (diff)
downloadprosody-cdfc10bfc49bc2d92e85d46a330daaa3de0fa4bc.tar.gz
prosody-cdfc10bfc49bc2d92e85d46a330daaa3de0fa4bc.zip
mod_iq: Fix an extra character in previous commit...
Diffstat (limited to 'plugins/mod_iq.lua')
-rw-r--r--plugins/mod_iq.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_iq.lua b/plugins/mod_iq.lua
index 0c78abb4..484a1f8f 100644
--- a/plugins/mod_iq.lua
+++ b/plugins/mod_iq.lua
@@ -13,7 +13,7 @@ local jid_split = require "util.jid".split;
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;