From c638c90e5545111fd1217c777724397759dc06d7 Mon Sep 17 00:00:00 2001 From: Nakidai Date: Thu, 5 Feb 2026 12:53:36 +0300 Subject: Add NAMES So not it can show who's on the channel, yay. Though, no showing ops --- reply.c | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'reply.c') diff --git a/reply.c b/reply.c index a295da8..6670ecf 100644 --- a/reply.c +++ b/reply.c @@ -133,6 +133,19 @@ vreply(const struct Peer *peer, int number, va_list ap) getnick(peer), nick ), nick, _); + REPLY(353, WRITE( + ":%s 353 %s = %s :%s", + hostname, + getnick(peer), + channel, + nicklist + ), channel, nicklist, _); + REPLY(366, WRITE( + ":%s 366 %s %s :End of NAMES list", + hostname, + getnick(peer), + channel + ), channel, _); REPLY(401, WRITE( ":%s 401 %s %s :No such nick/channel", hostname, -- cgit 1.4.1