summary refs log tree commit diff
path: root/ircd.h
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2026-02-12 21:19:11 +0300
committerNakidai <nakidai@disroot.org>2026-02-12 21:19:11 +0300
commite76511e37e906c73d61aa65ec27efd9f060bf1a3 (patch)
treec5a4c38987c327f97ca386c81779d32a605ae0e9 /ircd.h
parentec97c603288869efad52ed7235ae770f85a9d7e8 (diff)
downloadlibreircd-e76511e37e906c73d61aa65ec27efd9f060bf1a3.tar.gz
libreircd-e76511e37e906c73d61aa65ec27efd9f060bf1a3.zip
Add support for n channel flag
It's a flag that restricts a set of users able to write to a channel to
those who joined. If not, reply 442 is sent upon PRIVMSG
Diffstat (limited to 'ircd.h')
-rw-r--r--ircd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ircd.h b/ircd.h
index 931948b..d4ed678 100644
--- a/ircd.h
+++ b/ircd.h
@@ -83,6 +83,7 @@ struct Channel
 	enum ChannelMode
 	{
 		BIT(CHANNEL_SECRET),
+		BIT(CHANNEL_NOFROMOUT),
 	} modes;
 };