doConnect() === false) { $c = new ColorCLI; echo $c->error("Unable to connect to usenet.\n"); return; } $predb = new Predb (true); $predb->updatePre(); $predb->checkPre($nntp); if ($titles > 0) { echo $c->header('Fetched ' . $titles . ' new title(s) from predb sources.'); } $nntp->doQuit();