[IRCServices Coding] srvcs 5

Finny Merrill griever at t2n.org
Sat Dec 15 12:12:48 PST 2001


On Sat, 15 Dec 2001 v13 at priest.com wrote:

>  A note about callbacks:
> 
> Callbacks are nice when someone wants to add another function to services, 
> but are no good, when someone wants to extend an existing one. 
> 
> I was trying to make nickserv to send one more line for the INFO command.
*snip*


Command* lookup_cmd(Module* id, char* name)
will return the current Command* stucture for command name
which can then be removed and replaced, and you can call the function.
> 
> Using "nm -g" it seems that those functions are not exported from the 
> nickserv module. 
> 
> Is this going to change, or we should prepare for patching the main services 
> code ?

No need 
> <<V13>>
> ------------------------------------------------------------------
> To unsubscribe or change your subscription options, visit:
> http://www.ircservices.za.net/mailman/listinfo/ircservices-coding
>