Hi,

Agent.pm allows us to easily hook IQ's. You register you callback with register_iq_handler() and then it will be called by handle_iq().

The register_iq_handler() is using a different key than the handle_iq () so your callbacks will never be called.

The attached patch fixes that.

Attachment: Agent.pm-diff
Description: Binary data


Best regards,
--
Pedro Melo
Blog: http://www.simplicidade.org/notes/
Jabber ID: [EMAIL PROTECTED]
Use Jabber!


Reply via email to