[PATCH] Typo in Agent.pm

Pedro Melo melo at simplicidade.org
Mon Feb 26 12:54:28 UTC 2007


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.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: Agent.pm-diff
Type: application/octet-stream
Size: 457 bytes
Desc: not available
Url : http://lists.danga.com/pipermail/djabberd/attachments/20070226/16cfcfa5/Agent.obj
-------------- next part --------------

Best regards,
--
Pedro Melo
Blog: http://www.simplicidade.org/notes/
Jabber ID: melo at simplicidade.org
Use Jabber!




More information about the Djabberd mailing list