From 834c85d80914007e31657d12d2f22a9cb2cd8624 Mon Sep 17 00:00:00 2001 From: Nakidai Date: Sat, 14 Feb 2026 00:05:36 +0300 Subject: 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 --- reply.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'reply.c') diff --git a/reply.c b/reply.c index 41fcb4a..e7f899b 100644 --- a/reply.c +++ b/reply.c @@ -196,6 +196,12 @@ vreply(const struct Peer *peer, int number, va_list ap) getnick(peer), channel ), channel, _); + REPLY(404, WRITE( + ":%s 404 %s %s :Cannot send to channel", + hostname, + getnick(peer), + channel + ), channel, _); REPLY(405, WRITE( ":%s 405 %s %s :You have joined too many channels", hostname, -- cgit 1.4.1