1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-06 10:53:13 +02:00
This commit is contained in:
stskeeps
2002-08-10 16:51:44 +00:00
parent f8f829840d
commit 07eb941a58
2 changed files with 21 additions and 0 deletions
+1
View File
@@ -1459,3 +1459,4 @@ seen. gmtime warning still there
- Modulized /vhost, /cycle, /svsjoin, /svspart
- Fixed a autoconf problem where FD_SETSIZE was NOT replaced when it wasn't big enough
(abort() problem on some installs.)
- Readded find_match_server which got removed, m_rping uses it. Now in hash.c
+20
View File
@@ -728,3 +728,23 @@ int hash_del_watch_list(aClient *cptr)
return 0;
}
aClient *find_match_server(char *mask)
{
aClient *acptr;
if (BadPtr(mask))
return NULL;
for (acptr = client, collapse(mask); acptr; acptr = acptr->next)
{
if (!IsServer(acptr) && !IsMe(acptr))
continue;
if (!match(mask, acptr->name))
break;
continue;
}
return acptr;
}