From db996c22cd51cd46dd9afee1085a8af04cc7b53b Mon Sep 17 00:00:00 2001 From: Nakidai Date: Tue, 10 Feb 2026 03:38:15 +0300 Subject: Add channel mode editing support Well, an oper should have some way to manage their channel :) --- reply.c | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) (limited to 'reply.c') 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, -- cgit 1.4.1