Cleanup code so it builds with C++ again
[ircu2.10.12-pk.git] / ircd / m_whois.c
index 5dda1a572a2edd3279c7e48ad4967595eb739e58..b817e3a26a6c79b48aedb2747ce64a35c37ede22 100644 (file)
@@ -227,7 +227,7 @@ static int do_wilds(struct Client* sptr, char *nick, int count, int parc)
 {
   struct Client *acptr; /* Current client we're concidering */
   struct User *user;   /* the user portion of the client */
-  char *name;          /* the name of this 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? */