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:
+3
-9
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user