1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-12 19:14:46 +02:00

Added SVIDLEN so this value is now separate from NICKLEN. Previously if you

would lower NICKLEN to 9 then services timestamps would be cut off. Reported
by Jobe (#4248).
This commit is contained in:
Bram Matthys
2014-01-12 16:40:55 +01:00
parent 26dc7cbb31
commit 32fff791bd
+2 -1
View File
@@ -174,6 +174,7 @@ typedef unsigned int u_int32_t; /* XXX Hope this works! */
#define NICKLEN 30
#define USERLEN 10
#define REALLEN 50
#define SVIDLEN 30
#define TOPICLEN 307
#define CHANNELLEN 32
#define PASSWDLEN 48 /* was 20, then 32, now 48. */
@@ -814,7 +815,7 @@ struct User {
* which is less useful in the modern world of IRC where nicks are grouped to
* accounts, so it is now a string.
*/
char svid[NICKLEN + 1];
char svid[SVIDLEN + 1];
signed char refcnt; /* Number of times this block is referenced */
unsigned short joined; /* number of channels joined */