Unsubscribes the module from a message.
Synopsis.
#include <parabellym/api.h> int para_msg_unsubscribe(int msgid);
Arguments.
Access.
Unrestricted.
Description.
This functon removes a message from the current module's list of subscription. The module will no longer receive the specified message. When the last module unsubscribes from a message, it is unregistered and its numeric id will be different next time the message is located or subscribed for.
The module is automatically unsubscribed from all messages when the para_mod_body function exits.
Return value.