Changeset

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
parents 3678:ce04b8b144de
children 3680:408a19977125
files plugins/mod_iq.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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;