chanservext=registerchanext("chanserv");
chanservaext=registerauthnameext("chanserv",1);
- /* Set up the allocators and hashes */
- chanservallocinit();
+ /* Set up the hashes */
chanservhashinit();
/* And the messages */
regban *rbp;
regchan *rcp;
int uid,cid,bid;
- time_t expiry,now;
+ time_t expiry;
int total=0;
pgres=dbgetresult(dbconn);
return;
}
- now=time(NULL);
-
while(dbfetchrow(pgres)) {
bid=strtoul(dbgetvalue(pgres,0),NULL,10);
cid=strtoul(dbgetvalue(pgres,1),NULL,10);