summary refs log tree commit diff
path: root/reply.c
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2026-02-10 03:38:15 +0300
committerNakidai <nakidai@disroot.org>2026-02-10 03:38:15 +0300
commitdb996c22cd51cd46dd9afee1085a8af04cc7b53b (patch)
tree3fdc59fc9f7d42a1e8f96d9ca615e2d8b19a60da /reply.c
parent15b0b805fe2e739c9d89b54e1bfb26beb79c3112 (diff)
downloadlibreircd-db996c22cd51cd46dd9afee1085a8af04cc7b53b.tar.gz
libreircd-db996c22cd51cd46dd9afee1085a8af04cc7b53b.zip
Add channel mode editing support
Well, an oper should have some way to manage their channel :)
Diffstat (limited to 'reply.c')
-rw-r--r--reply.c16
1 files changed, 15 insertions, 1 deletions
diff --git a/reply.c b/reply.c
index adc2557..de1d5c7 100644
--- a/reply.c
+++ b/reply.c
@@ -87,7 +87,7 @@ vreply(const struct Peer *peer, int number, va_list ap)
 		creation
 	), _);
 	REPLY(4, WRITE(
-		":%s 004 %s :%s libreircd-" IRCD_VERSION " aiwroOs :",
+		":%s 004 %s :%s libreircd-" IRCD_VERSION " aiwroOs os",
 		hostname,
 		getnick(peer),
 		hostname
@@ -220,6 +220,13 @@ vreply(const struct Peer *peer, int number, va_list ap)
 		getnick(peer),
 		nick
 	), nick, _);
+	REPLY(441, WRITE(
+		":%s 441 %s %s %s :They aren't on that channel",
+		hostname,
+		getnick(peer),
+		nick,
+		channel
+	), nick, channel, _);
 	REPLY(442, WRITE(
 		":%s 442 %s %s :You're not on that channel",
 		hostname,
@@ -253,6 +260,13 @@ vreply(const struct Peer *peer, int number, va_list ap)
 		getnick(peer),
 		channel
 	), channel, _);
+	REPLY(472, WRITE(
+		":%s 472 %s %s :is unknown mode char to me for %s",
+		hostname,
+		getnick(peer),
+		mode,
+		channel
+	), mode, channel, _);
 	REPLY(481, WRITE(
 		":%s 481 %s :Permission Denied- %s",
 		hostname,