Anope IRC Services  Version 1.8
catserv_messages.c
Go to the documentation of this file.
1 #include "catserv_messages.h"
2 #include "module.h"
3 #include "meow.h"
4 #include "purr.h"
5 
6 void addMessageList(void)
7 {
8  Command *c;
9  c = createCommand("meow", do_meow, NULL, -1, -1, -1, -1, -1);
11  c = createCommand("purr", do_purr, NULL, -1, -1, -1, -1, -1);
13 }
14 
void addMessageList(void)
int do_purr(User *u)
Definition: purr.c:4
CommandHash * Catserv_cmdTable[MAX_CMD_HASH]
Command * c
Definition: ns_recover.c:17
MDE Command * createCommand(const char *name, int(*func)(User *u), int(*has_priv)(User *u), int help_all, int help_reg, int help_oper, int help_admin, int help_root)
Definition: modules.c:987
MDE int moduleAddCommand(CommandHash *cmdTable[], Command *c, int pos)
Definition: modules.c:1082
int do_meow(User *u)
Definition: meow.c:5
#define MOD_UNIQUE
Definition: module.h:11