15 #include <sys/types.h>
23 #include "sysdep_decls.h"
24 #include "citserver.h"
28 #include "dynloader.h"
41 void cmd_mmod(char *argbuf) {
45 /* user must be at least a Room Aide to moderate */
46 if (CtdlAccessCheck(ac_room_aide)) return;
48 msgnum = extract_long(argbuf, 0);
49 newlevel = extract_int(argbuf, 1);
51 if ( (newlevel < (-63)) || (newlevel > (+63)) ) {
52 cprintf("%d %d is not a valid moderation level.\n",
53 newlevel, ERROR+ILLEGAL_VALUE);
56 cprintf("%d FIXME ... actually do this!!!!!!!!\n", OK);
60 char *Dynamic_Module_Init(void)
62 CtdlRegisterProtoHook(cmd_mmod, "MMOD", "Moderate a message");