1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-10 23:23:12 +02:00

- Remove no longer used sendto_serv_nickv2 functions.

These look like they were removed in Unreal 3.1!
This commit is contained in:
William Pitcock
2013-05-19 23:15:05 +00:00
parent 47e5ac9734
commit 63e1786a7d
-85
View File
@@ -518,91 +518,6 @@ sendto_server(aClient *one, unsigned long caps,
}
}
/*
* sendto_serv_butone_nickv2
*
* Send a message to all connected servers except the client 'one'.
* BUT, don't send to NICKv2 servers.
*/
void sendto_serv_butone_nickv2(aClient *one, char *pattern, ...)
{
va_list vl;
aClient *cptr;
va_start(vl, pattern);
list_for_each_entry(cptr, &server_list, special_node)
{
if (one && cptr == one->from)
continue;
va_start(vl, pattern);
if (!SupportNICKv2(cptr))
vsendto_one(cptr, pattern, vl);
va_end(vl);
}
va_end(vl);
}
/*
* sendto_serv_nickv2
*
* Send a message to all connected servers except the client 'one'.
* BUT only send to NICKv2 servers.
*/
void sendto_serv_nickv2(aClient *one, char *pattern, ...)
{
va_list vl;
aClient *cptr;
va_start(vl, pattern);
list_for_each_entry(cptr, &server_list, special_node)
{
if (one && cptr == one->from)
continue;
va_start(vl, pattern);
if (SupportNICKv2(cptr))
vsendto_one(cptr, pattern, vl);
va_end(vl);
}
va_end(vl);
}
/*
* sendto_serv_nickv2_token
*
* Send a message to all connected servers except the client 'one'.
* BUT only send to NICKv2 servers. As of Unreal3.1 it uses two patterns now
* one for non token and one for tokens */
void sendto_serv_nickv2_token(aClient *one, char *pattern, char *tokpattern,
...)
{
va_list vl;
aClient *cptr;
va_start(vl, tokpattern);
list_for_each_entry(cptr, &server_list, special_node)
{
if (one && cptr == one->from)
continue;
if (SupportNICKv2(cptr))
vsendto_one(cptr, pattern, vl);
}
va_end(vl);
}
/*
* sendto_common_channels()
*