From e76511e37e906c73d61aa65ec27efd9f060bf1a3 Mon Sep 17 00:00:00 2001 From: Nakidai Date: Thu, 12 Feb 2026 21:19:11 +0300 Subject: 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 --- channel.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'channel.c') diff --git a/channel.c b/channel.c index d04f3cc..2717e5e 100644 --- a/channel.c +++ b/channel.c @@ -105,7 +105,7 @@ channel_modes_parse(const struct Message *msg) return modes; } queue[queue_r++] = (set << 7) | *m; - break; case 's': + break; case 'n': case 's': modes[modes_c].mode = *m; modes[modes_c++].set = set; break; default: -- cgit 1.4.1