summary refs log tree commit diff
path: root/ircd.h
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2026-02-05 14:11:41 +0300
committerNakidai <nakidai@disroot.org>2026-02-05 14:11:41 +0300
commit68a91231a9480d591b43b359ad9a02af1faef07b (patch)
treed09fe703286c6450a266e83580b7e6eddec87961 /ircd.h
parent5c240d0121aa82ad4ced73b70d3a1674ae81c764 (diff)
downloadlibreircd-68a91231a9480d591b43b359ad9a02af1faef07b.tar.gz
libreircd-68a91231a9480d591b43b359ad9a02af1faef07b.zip
Add OPER/SETOPER
SETOPER is a command for config, OPER is the one to authorize a user
Diffstat (limited to 'ircd.h')
-rw-r--r--ircd.h6
1 files changed, 6 insertions, 0 deletions
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];