aboutsummaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2008-11-02 01:28:27 +0000
committerMatthew Wild <mwild1@gmail.com>2008-11-02 01:28:27 +0000
commitdeb12dc32b16b85d73f7c101711bc60f74d83aac (patch)
tree2b81406b925c6a04ff570c9ae13223c74577cbd9 /core
parentad6a210750d335cab7ecb57e0058fe2a42964fb7 (diff)
downloadprosody-deb12dc32b16b85d73f7c101711bc60f74d83aac.tar.gz
prosody-deb12dc32b16b85d73f7c101711bc60f74d83aac.zip
Fix for previous commit
Diffstat (limited to 'core')
-rw-r--r--core/modulemanager.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/modulemanager.lua b/core/modulemanager.lua
index 3be6490f..3a34bfbd 100644
--- a/core/modulemanager.lua
+++ b/core/modulemanager.lua
@@ -38,7 +38,7 @@ function modulehelpers.add_iq_handler(origin_type, xmlns, handler)
end
return;
end
- _add_iq_handler(getfenv(2), origin_type, xmlns, handler);
+ _add_iq_handler(getfenv(2).module, origin_type, xmlns, handler);
end
local function _add_handler(module, origin_type, tag, xmlns, handler)