}
void _fini(void) {
- struct rg_struct *gp = rg_list, *oldgp;
+ struct rg_struct *gp, *oldgp;
rg_delay *delay, *delaynext;
if(started) {
ctype = "??";
}
- snprintf(ctypebuf, sizeof(ctype), "%1d:%s", type, ctype);
+ snprintf(ctypebuf, sizeof(ctypebuf), "%1d:%s", type, ctype);
return ctypebuf;
}
newrow->type = 0; /* just in case */
snprintf(glineiddata, sizeof(glineiddata), "%s regexgline %s %s %s %d %d", mynumeric->content, mask, setby, reason, (int)iexpires, newrow->type);
- newrow->glineid = crc32(glineiddata);
+ newrow->glineid = irc_crc32(glineiddata);
}
return newrow;
rg->lastseen = time(NULL);
rg->dirty = 1;
- /* @paul: disabled */
+ /* @paul: disabled
- return;
dbescapestring(eenick, np->nick, strlen(np->nick));
dbescapestring(eeuser, np->ident, strlen(np->ident));
dbescapestring(eehost, np->host->name->content, strlen(np->host->name->content));
dbescapestring(eereal, np->realname->name->content, strlen(np->realname->name->content));
dbquery("INSERT INTO regexgline.glog (glineid, nickname, username, hostname, realname, ts) VALUES (%d, '%s', '%s', '%s', '%s', NOW())", rg->id, eenick, eeuser, eehost, eereal);
+ */
}
static unsigned int getrgmarker(void) {