Fix for previous commit

Sun, 02 Nov 2008 01:28:27 +0000

author
Matthew Wild <mwild1@gmail.com>
date
Sun, 02 Nov 2008 01:28:27 +0000
changeset 197
19c57a24afa1
parent 196
ebe23269b377
child 198
e4755408d40b

Fix for previous commit

core/modulemanager.lua file | annotate | diff | comparison | revisions
--- a/core/modulemanager.lua	Sun Nov 02 01:26:37 2008 +0000
+++ b/core/modulemanager.lua	Sun Nov 02 01:28:27 2008 +0000
@@ -38,7 +38,7 @@
 		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)

mercurial