From 68a91231a9480d591b43b359ad9a02af1faef07b Mon Sep 17 00:00:00 2001 From: Nakidai Date: Thu, 5 Feb 2026 14:11:41 +0300 Subject: Add OPER/SETOPER SETOPER is a command for config, OPER is the one to authorize a user --- config.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'config.h') diff --git a/config.h b/config.h index 1aefc9d..965d835 100644 --- a/config.h +++ b/config.h @@ -24,6 +24,7 @@ #define PARAM_MAX 15 #define MESSAGE_MAX 512 #define PEERS_MAX 100 +#define OPERS_MAX 8 #define CHANNELS_MAX 100 #define CHANNEL_USERS_MAX 100 @@ -39,4 +40,6 @@ #define PEER_PINGTIMEOUT 120 #define PEER_PONGTIMEOUT 20 +#define OPER_PASS_MAX 64 + #define POLL_TIMEOUT min(PEER_PINGTIMEOUT, PEER_PONGTIMEOUT) -- cgit 1.4.1