summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/client.h3
-rw-r--r--include/ircd_defs.h3
2 files changed, 3 insertions, 3 deletions
diff --git a/include/client.h b/include/client.h
index 6f9ffdc..0334f1a 100644
--- a/include/client.h
+++ b/include/client.h
@@ -409,8 +409,7 @@ struct Client
char away[AWAYLEN + 1]; /**< Client's AWAY message. Can be set/unset via AWAY command */
char name[HOSTLEN + 1]; /**< unique name for a client nick or host */
- char svid[HOSTLEN + 1]; /**< Services ID. XXX: Going with HOSTLEN for now. NICKLEN might be too small
- if dealing with timestamps */
+ char svid[SVIDLEN + 1]; /**< Services ID. */
char id[IDLEN + 1]; /**< client ID, unique ID per client */
/*
* client->username is the username from ident or the USER message,
diff --git a/include/ircd_defs.h b/include/ircd_defs.h
index bf68184..85cf3a2 100644
--- a/include/ircd_defs.h
+++ b/include/ircd_defs.h
@@ -37,7 +37,8 @@
#define HOSTLEN 63 /* Length of hostname. Updated to comply
with RFC 1123 */
#define NICKLEN 30
-#define USERLEN 10
+#define USERLEN 10
+#define SVIDLEN 30
#define PORTNAMELEN 6 /* ":31337" */
#define HOSTIPLEN 45 /* sizeof("ffff:ffff:ffff:ffff:ffff:ffff:255.255.255.255") */