ejabberd - Comments for "Terminate hook processing in module" https://www.ejabberd.im/node/3640 en Returning stop at the end of https://www.ejabberd.im/node/3640#comment-54620 <p>Returning stop at the end of the function that's hooked to user_send_packet the message sent gets delivered anyway. I solved it hooking another function to filter_packet, and returning drop. This way it drops the packet. Anyway I don't know if it's the correct way to go. ejabberd documentation is really poor :(</p> <p>Thanks for your answer!</p> Wed, 02 Sep 2009 09:11:44 +0000 Francesco comment 54620 at https://www.ejabberd.im To stop ejabberd from calling https://www.ejabberd.im/node/3640#comment-54607 <p>To stop ejabberd from calling other functions in that hook, your function must return: stop</p> Mon, 31 Aug 2009 11:18:53 +0000 mfoss comment 54607 at https://www.ejabberd.im