[IRCServices Coding] Event ordering

Andrew Church achurch at achurch.org
Thu Dec 11 09:45:28 PST 2003


RTFM (6-1-4) and use add_callback_pri().

  --Andrew Church
    achurch at achurch.org
    http://achurch.org/

>Hi...
>
>We've developed a simple hostserv module, and we have hooked onto the 'nickserv identify' event... however....
>because of the ordering of callbacks etc, the hostserv system is called AFTER nickserv autojoin etc, meaning that users using nickserv autojoin join channels with their 'normal' hostmask. Would it be possible in a future version of ircservices to have som
>e way to alter the priorities of modules/callbacks and/or have some form of event queue, so in this case we could set the priority of hostserv above that of nickserv/autojoin etc? It might be useful in other circumstances too :-)
>
>Thanks,
>Brain
>
>---
>http://www.chatspike.net 
>
>
>------------------------------------------------------------------
>To unsubscribe or change your subscription options, visit: