banned?.c

gurba-0.40/lib/cmds/wiz/banned?.c · 272 B

From the archive gurba.tgz

Download the archive   « Back to the archive contents

void main( string site ) {
   string info;
   if( SITEBAN_D->is_banned(site) ) {
      info = read_file("/data/banished/"+site);
      write("The site '"+site+"' was banned:\n"+"\t"+info+"\n");
   } else {
      write("The site: "+site+" is NOT a banned site.\n");
   }
}

Site Stats

Snippets: 1791
Codebases: 571