LastDeadComment(to)[sizeof(LastDeadComment(to)) - 1] = 0;
if (!IsUser(to) && !IsUnknown(to) && !(to->flags & FLAGS_CLOSING))
- sendto_ops("%s for %s", LastDeadComment(to), get_client_name(to, FALSE));
+ sendto_ops("%s for %s", LastDeadComment(to), to->name);
Debug((DEBUG_ERROR, LastDeadComment(to)));
}
{
if (IsServer(to))
sendto_ops("Max SendQ limit exceeded for %s: "
- SIZE_T_FMT " > " SIZE_T_FMT,
- get_client_name(to, FALSE), DBufLength(&to->sendQ), get_sendq(to));
+ SIZE_T_FMT " > " SIZE_T_FMT, to->name,
+ DBufLength(&to->sendQ), get_sendq(to));
dead_link(to, "Max sendQ exceeded");
return;
}