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 --- ircd.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'ircd.h') diff --git a/ircd.h b/ircd.h index f85d33f..d05614c 100644 --- a/ircd.h +++ b/ircd.h @@ -73,6 +73,12 @@ struct Channel size_t modes_c, users_c; }; +struct Oper +{ + char nick[PEER_NICK_MAX]; + char pass[OPER_PASS_MAX]; +}; + typedef int Handler(struct Message *msg, struct Peer *peer); extern struct Channel channels[CHANNELS_MAX]; -- cgit 1.4.1