/*
* This program was hacked by Harald Kipp
*
* Bug reports should be sent to
*
* harald@os2point.ping.de
* harald@haport.sesam.com
* Fido: 2:2448/434
*
* You may freely copy or redistribute this software. However,
* this may not apply to any part of it, if otherwise noted.
*/
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <lprintf.h>
#include <history.h>
#include <active.h>
#include "config.h"
#include "chanco.h"
/*
* rmgroup <groupname...>
*
* Removes old newsgroups from the list of active ones.
*/
void c_rmgroup(int argc, char **argv)
{
if (argc < 2) {
lprintf("rmgroup: Not enough arguments.");
return;
}
for (argc--, argv++; argc; argc--, argv++)
del_active(cfg.activefile, argv[0]);
}