[Monkeyircd-devel] Rewrite of command calling code
Brought to you by:
lloydy
From: Chris P. <ch...@ll...> - 2001-06-24 20:21:34
|
If the title makes any sense, you probably know what i'm about to say, otherwise, you'll need to know what I'm about to say, I've replaced the previously huge list of lc_strncmp ... cmd_* calls with a cleaner interface with an array of structs containing a string describing the comamnd and a function pointer to the correct function. Check out commands.h and ircd.c for the changes. --=20 Chris Plant <ch...@ll...> Author of Chunky Monkey IRCD <http://monkeyircd.sourceforge.net> |