summary refs log tree commit diff
path: root/reply.c
diff options
context:
space:
mode:
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,