Fix for previous commit (again)

Sun, 02 Nov 2008 01:30:36 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Sun, 02 Nov 2008 01:30:36 +0000
changeset 198
e4755408d40b
parent 197
19c57a24afa1
child 201
bb1b3201bab5

Fix for previous commit (again)

core/modulemanager.lua file | annotate | diff | comparison | revisions
--- a/core/modulemanager.lua	Sun Nov 02 01:28:27 2008 +0000
+++ b/core/modulemanager.lua	Sun Nov 02 01:30:36 2008 +0000
@@ -34,7 +34,7 @@
 	if not (origin_type and handler and xmlns) then return false; end
 	if type(origin_type) == "table" then
 		for _, origin_type in ipairs(origin_type) do
-			_add_iq_handler(getfenv(2), origin_type, xmlns, handler);
+			_add_iq_handler(getfenv(2).module, origin_type, xmlns, handler);
 		end
 		return;
 	end

mercurial