summary refs log tree commit diff
path: root/config.h
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2026-02-13 00:19:07 +0300
committerNakidai <nakidai@disroot.org>2026-02-13 00:19:07 +0300
commit3f2bbeda9cae1e3d3f50d984549c82a5a29d2f6f (patch)
treea116461d3102fdf2be87bd033780873f9cd55c8f /config.h
parent83c7d5f26cc3dcc93967a694b6b07447e839d6c1 (diff)
downloadlibreircd-3f2bbeda9cae1e3d3f50d984549c82a5a29d2f6f.tar.gz
libreircd-3f2bbeda9cae1e3d3f50d984549c82a5a29d2f6f.zip
Add SETHOSTNAME command
Also remove hostname argument from the cli. It'd be better to have it
in a config file rather than passing through an argument, it was like
that since times config file didn't exist, but time has changed
Diffstat (limited to 'config.h')
-rw-r--r--config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h b/config.h
index ec49704..a7033a0 100644
--- a/config.h
+++ b/config.h
@@ -20,6 +20,7 @@
 
 #define INFO_MAX 64
 #define CREATION_MAX 64
+#define HOSTNAME_MAX 64
 
 #define PARAM_MAX 15
 #define MESSAGE_MAX 512