diff options
| author | Nakidai <nakidai@disroot.org> | 2026-02-05 12:53:36 +0300 |
|---|---|---|
| committer | Nakidai <nakidai@disroot.org> | 2026-02-05 12:53:36 +0300 |
| commit | c638c90e5545111fd1217c777724397759dc06d7 (patch) | |
| tree | 9917543314f7f74ea1bca2004bc4f05711d4ea78 /reply.c | |
| parent | eba9ea345af1f259bf27936f3d0941ab2a2f5bfb (diff) | |
| download | libreircd-c638c90e5545111fd1217c777724397759dc06d7.tar.gz libreircd-c638c90e5545111fd1217c777724397759dc06d7.zip | |
Add NAMES
So not it can show who's on the channel, yay. Though, no showing ops
Diffstat (limited to 'reply.c')
| -rw-r--r-- | reply.c | 13 |
1 files changed, 13 insertions, 0 deletions
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, |