summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
authorAlexander Barton <alex@barton.de>2019-06-29 16:07:29 +0200
committerAlexander Barton <alex@barton.de>2019-06-29 16:13:16 +0200
commit2c495a1fe7c25494248204b725afaffc8c71411a (patch)
tree0bc2eae30e27126a88f6590caf1242efb25f2307 /src
parent52c53f523a8fc81de7b4b2398f1e09e5df482690 (diff)
downloadngircd-2c495a1fe7c25494248204b725afaffc8c71411a.tar.gz
ngircd-2c495a1fe7c25494248204b725afaffc8c71411a.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/ngircd/defines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ngircd/defines.h b/src/ngircd/defines.h
index f2666905..ff8cd226 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