if( (tg->currenton + 1) > tg->maxclones) {
/* user exceeds trust group limit - disconnect */
//killuser(NULL, np, "USER: Exceeding Trustgroup Limit.");
- controlwall(NO_OPER, NL_TRUSTS, "KILL TG %lu: Excedding trustgroup limit (%d / %d) for %s!%s@%s",tg->id, (tg->currenton + 1), tg->maxclones, np->nick, np->ident, np->host->name->content);
+ controlwall(NO_OPER, NL_TRUSTS, "KILL TG %lu: Exceeding trustgroup limit (%d / %d) for %s!%s@%s",tg->id, (tg->currenton + 1), tg->maxclones, np->nick, np->ident, np->host->name->content);
}
}
if ( np->ident[0] == '~') {
for(tgi=trustgroupidentcounttable[trusts_gettrustgroupidenthash(ident)]; tgi; tgi = (trustgroupidentcount_t *)tgi->next) {
if(tgi->trustgroup == t) {
- if(ircd_strcmp(tgi->ident->content,ident)==0) {
+ if(strcmp(tgi->ident->content,ident)==0) {
return tgi;
}
}