Software /
code /
prosody
Comparison
core/modulemanager.lua @ 3530:73909cca846c
modulemanager: Removed add_iq_handler() from the plugin API.
author | Waqas Hussain <waqas20@gmail.com> |
---|---|
date | Sat, 16 Oct 2010 06:25:55 +0500 |
parent | 3433:b567ac8e2040 |
child | 3536:fab65a4692ac |
comparison
equal
deleted
inserted
replaced
3529:3f9cc12308aa | 3530:73909cca846c |
---|---|
353 end | 353 end |
354 else | 354 else |
355 _add_handler(self, origin_type, tag, xmlns, handler); | 355 _add_handler(self, origin_type, tag, xmlns, handler); |
356 end | 356 end |
357 end | 357 end |
358 function api:add_iq_handler(origin_type, xmlns, handler) | |
359 self:add_handler(origin_type, "iq", xmlns, handler); | |
360 end | |
361 | 358 |
362 function api:add_feature(xmlns) | 359 function api:add_feature(xmlns) |
363 self:add_item("feature", xmlns); | 360 self:add_item("feature", xmlns); |
364 end | 361 end |
365 function api:add_identity(category, type, name) | 362 function api:add_identity(category, type, name) |