1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-05 06:53:13 +02:00

Change (or delete) old sendto_ops() calls. Function is now gone.

This commit is contained in:
Bram Matthys
2021-09-23 19:14:10 +02:00
parent e36c85e4ce
commit b94707a51b
10 changed files with 37 additions and 69 deletions
+3 -9
View File
@@ -1093,16 +1093,10 @@ int deliver_it(Client *client, char *str, int len, int *want_read)
*want_read = 0;
if (IsDeadSocket(client) || (!IsServer(client) && !IsUser(client)
&& !IsHandshake(client)
&& !IsTLSHandshake(client)
&& !IsUnknown(client)))
if (IsDeadSocket(client) ||
(!IsServer(client) && !IsUser(client) && !IsHandshake(client) &&
!IsTLSHandshake(client) && !IsUnknown(client)))
{
str[len] = '\0';
sendto_ops
("* * * DEBUG ERROR * * * !!! Calling deliver_it() for %s, status %d %s, with message: %s",
client->name, client->status, IsDeadSocket(client) ? "DEAD" : "", str);
return -1;
}