]> jfr.im git - solanum.git/blobdiff - include/client.h
gcc7 fixes: NICKLEN -> NAMELEN
[solanum.git] / include / client.h
index e80a7768e0f04816257eecb9cacb8aa34b7449ed..89c4cf8a4ac73a4c3ceef82b057b682456dc8786 100644 (file)
@@ -126,7 +126,7 @@ struct Client
        unsigned long serial;   /* used to enforce 1 send per nick */
 
        /* client->name is the unique name for a client nick or host */
-       char name[HOSTLEN + 1];
+       char name[NAMELEN + 1];
 
        /*
         * client->username is the username from ident or the USER message,