aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_iq.lua
diff options
context:
space:
mode:
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;