void cmd_mmod(char *argbuf) {
long msgnum;
int newlevel;
- struct SuppMsgInfo smi;
+ struct MetaData smi;
int is_message_in_room;
/* user must be at least a Room Aide to moderate */
return;
}
- GetSuppMsgInfo(&smi, msgnum);
- smi.smi_mod = newlevel;
- PutSuppMsgInfo(&smi);
+ GetMetaData(&smi, msgnum);
+ smi.meta_mod = newlevel;
+ PutMetaData(&smi);
- cprintf("%d Message %ld is moderated to %d\n", OK, msgnum, newlevel);
+ cprintf("%d Message %ld is moderated to %d\n", CIT_OK, msgnum, newlevel);
}