mod_chatcommand crashes

I try to use mod_chatcommand, but if I send a not well formed xmpp message, or an erl command it can not execute it always crashes, and I have to restart the modul. I would like to use it to send erl command only.

Any Ideas? How could I insert to it some error handling?

Thanks,
Arpad

improved mod_chatcommand

You are right. I've added a call to spawn, I hope it helps.

Try it now.

Thank you, it works now fine

Thank you, it works now fine :)

Syndicate content