1 make /HELP <command> work - oper only feature?
2 need to make small test case to see how hard/easy this would be to add.
4 diff -r ce13b0a1253e ircd/m_help.c
5 --- a/ircd/m_help.c Wed Jan 14 14:19:43 2009 +0100
6 +++ b/ircd/m_help.c Wed Jan 14 15:01:46 2009 +0100
8 int m_help(struct Client* cptr, struct Client* sptr, int parc, char* parv[])
12 +/* check here for param and find command, then call the function set for that entry? */
13 for (i = 0; msgtab[i].cmd; i++)
14 sendcmdto_one(&me, CMD_NOTICE, sptr, "%C :%s", sptr, msgtab[i].cmd);
16 diff -r ce13b0a1253e ircd/parse.c
17 --- a/ircd/parse.c Wed Jan 14 14:19:43 2009 +0100
18 +++ b/ircd/parse.c Wed Jan 14 15:01:46 2009 +0100
20 static struct MessageTree tok_tree;
22 /** Array of all supported commands. */
23 +/* add mh_<command> here? mh = message help */
24 struct Message msgtab[] = {