mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-06 10:53:13 +02:00
arg
This commit is contained in:
@@ -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
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user