modulemanager: Removed add_iq_handler() from the plugin API.
authorWaqas Hussain <waqas20@gmail.com>
Sat, 16 Oct 2010 06:25:55 +0500
changeset 3530 73909cca846c
parent 3529 3f9cc12308aa
child 3531 f41e1cfe92f4
modulemanager: Removed add_iq_handler() from the plugin API.
core/modulemanager.lua
--- a/core/modulemanager.lua	Sat Oct 16 05:59:26 2010 +0500
+++ b/core/modulemanager.lua	Sat Oct 16 06:25:55 2010 +0500
@@ -355,9 +355,6 @@
 		_add_handler(self, origin_type, tag, xmlns, handler);
 	end
 end
-function api:add_iq_handler(origin_type, xmlns, handler)
-	self:add_handler(origin_type, "iq", xmlns, handler);
-end
 
 function api:add_feature(xmlns)
 	self:add_item("feature", xmlns);