Hi,I'm not sure but I think this is a bug. WIth the current code, the server goes into a loop.
Basically the code in IQ.pm for on_recv_from_client() fails to recognize [EMAIL PROTECTED] as a valid "to the server" IQ. I think the bug is that it should be calling
$conn->vhost->handles_jid($to) and not $conn->vhost->uses_jid($to) at line 14. Attached patch switches to handles_jid.
IQ.pm-diff
Description: Binary data
Best regards, -- Pedro Melo Blog: http://www.simplicidade.org/notes/ Jabber ID: [EMAIL PROTECTED] Use Jabber!
