summary refs log tree commit diff
path: root/ircd.h
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2026-02-14 00:05:36 +0300
committerNakidai <nakidai@disroot.org>2026-02-14 00:20:38 +0300
commit834c85d80914007e31657d12d2f22a9cb2cd8624 (patch)
tree283ed0dacb635b97f93c21c8b0b94b6116ca29a3 /ircd.h
parent15151c88a7eb381fb5b46daaf521fc609d40539c (diff)
downloadlibreircd-834c85d80914007e31657d12d2f22a9cb2cd8624.tar.gz
libreircd-834c85d80914007e31657d12d2f22a9cb2cd8624.zip
Add support for voice and +m channel mode
So now voices in code are not that useless. Also, code was fixed for
their printing as it is valid for a user to be both an oper and voiced
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 3012783..fecfe60 100644
--- a/ircd.h
+++ b/ircd.h
@@ -83,6 +83,7 @@ struct Channel
 	size_t peers_c;
 	enum ChannelMode
 	{
+		BIT(CHANNEL_MODERATED),
 		BIT(CHANNEL_NOFROMOUT),
 		BIT(CHANNEL_SECRET),
 		BIT(CHANNEL_TOPIC),