void do_shitlist(COMMAND_ARGS) { Shit *shit; table_buffer("\037channel\037\t\037mask\037\t\037action\037\t\037set by\037\t\037reason\037\t\037expires\037"); for(shit=current->shitlist;shit;shit=shit->next) { table_buffer(FMT_6XSTRTAB,shit->chan,shit->mask,shit_actions[shit->action], nickcpy(NULL,shit->from),shit->reason,time2away(shit->expire)); } table_send(from,2); }
void ec_time(char *from, char *to) { nobo_strcpy(time2away(now)); }