added ssl cipher notice on connect
[ircu2.10.12-pk.git] / ircd / m_whois.c
index f38d6adfefde91a4796d8c6ca3b72923e385d038..01c9db55db3d1d8311a6b89f76bc40ffa79a9930 100644 (file)
@@ -235,7 +235,6 @@ static int do_wilds(struct Client* sptr, char *nick, int count, int parc)
 {
   struct Client *acptr; /* Current client we're considering */
   struct User *user;   /* the user portion of the client */
-  const char *name;    /* the name of this client */
   struct Membership* chan; 
   int invis;           /* does +i apply? */
   int member;          /* Is this user on any channels? */
@@ -273,7 +272,6 @@ static int do_wilds(struct Client* sptr, char *nick, int count, int parc)
      *   the target user(s) are on;
      */
     user = cli_user(acptr);
-    name = (!*(cli_name(acptr))) ? "?" : cli_name(acptr);
     assert(user);
 
     invis = (acptr != sptr) && IsInvisible(acptr);