neozeed ircu2.9.32-linux-hacks.diff
This commit is contained in:
12
ircd/hash.c
12
ircd/hash.c
@@ -282,7 +282,7 @@ aClient *cptr;
|
||||
if (IsPing(tmp))
|
||||
continue;
|
||||
#ifdef TESTNET
|
||||
if (mycmp(name, tmp->name) == 0)
|
||||
if (strcasecmp(name, tmp->name) == 0)
|
||||
{
|
||||
if (tmp_fnd)
|
||||
sendto_ops("*** DEBUG ERROR *** : Found %s TWICE !",
|
||||
@@ -294,7 +294,7 @@ aClient *cptr;
|
||||
}
|
||||
}
|
||||
#else
|
||||
if (mycmp(name, tmp->name) == 0)
|
||||
if (strcasecmp(name, tmp->name) == 0)
|
||||
goto c_move_to_top;
|
||||
#endif
|
||||
}
|
||||
@@ -355,8 +355,8 @@ aClient *cptr;
|
||||
* Got the bucket, now search the chain.
|
||||
*/
|
||||
for (tmp = (aClient *)tmp3->list; tmp; prv = tmp, tmp = tmp->hnext)
|
||||
if (mycmp(name, tmp->name) == 0 && tmp->user &&
|
||||
mycmp(serv, tmp->user->server->name) == 0)
|
||||
if (strcasecmp(name, tmp->name) == 0 && tmp->user &&
|
||||
strcasecmp(serv, tmp->user->server->name) == 0)
|
||||
goto c_move_to_top;
|
||||
|
||||
#ifdef DEBUGMODE
|
||||
@@ -410,7 +410,7 @@ aClient *cptr;
|
||||
{
|
||||
if (!IsServer(tmp) && !IsMe(tmp))
|
||||
continue;
|
||||
if (mycmp(server, tmp->name) == 0)
|
||||
if (strcasecmp(server, tmp->name) == 0)
|
||||
goto s_move_to_top;
|
||||
}
|
||||
t = ((char *)server + strlen(server));
|
||||
@@ -476,7 +476,7 @@ aChannel *chptr;
|
||||
tmp3 = &channelTable[hashv];
|
||||
|
||||
for (tmp = (aChannel *)tmp3->list; tmp; prv = tmp, tmp = tmp->hnextch)
|
||||
if (mycmp(name, tmp->chname) == 0)
|
||||
if (strcasecmp(name, tmp->chname) == 0)
|
||||
goto c_move_to_top;
|
||||
#ifdef DEBUGMODE
|
||||
chmiss++;
|
||||
|
||||
Reference in New Issue
Block a user