repo: ngircd
action: commit
revision: 
path_from: 
revision_from: 2c495a1fe7c25494248204b725afaffc8c71411a:
path_to: 
revision_to: 
git.thebackupbox.net
ngircd
git clone git://git.thebackupbox.net/ngircd
commit 2c495a1fe7c25494248204b725afaffc8c71411a
Author: Alexander Barton 
Date:   Sat Jun 29 16:07:29 2019 +0200

    Enlage buffers of info texts to 128 bytes.

    This includes:
    - "Real name" of a client (4th filed of the USER command).
    - Server info text ("Info" configuration option).
    - Admin info texts and email address ("AdminInfo1", "AdminInfo2" and
      "AdminEmail" configuration options).
    - Network name ("Network" configuration option).

    The limit was 64 bytes before ...

    Closes #258.

diff --git a/src/ngircd/defines.h b/src/ngircd/defines.h
index f2666905e2512ae78396052bc861b19c77bb7de5..
index ..ff8cd226d641b0dced4b398438b74c14f2df983a 100644
--- a/src/ngircd/defines.h
+++ b/src/ngircd/defines.h
@@ -130,7 +130,7 @@
 #define CLIENT_MODE_LEN 21

 /** Max. length of server info texts (including NULL). */
-#define CLIENT_INFO_LEN 64
+#define CLIENT_INFO_LEN 128

 /** Max. length of away messages (including NULL). */
 #define CLIENT_AWAY_LEN 128

-----END OF PAGE-----