Author: Bleep <tomh@inxpress.net>
[ircu2.10.12-pk.git] / ircd / send.c
index 3c4e73e281e1835bc1552ef8a220a115c983df55..cd4913271f3f0420a021c150698804434e7e6f45 100644 (file)
@@ -81,7 +81,7 @@ static void dead_link(aClient *to, char *notice)
   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)));
 }
 
@@ -232,8 +232,8 @@ void sendbufto_one(aClient *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;
   }