summary refs log tree commit diff
path: root/reply.c
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 /reply.c
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 'reply.c')
-rw-r--r--reply.c6
1 files changed, 6 insertions, 0 deletions
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,