about summary refs log tree commit diff
path: root/reply.c
diff options
context:
space:
mode:
authorNakidai <nakidai@disroot.org>2026-01-12 16:50:11 +0300
committerNakidai <nakidai@disroot.org>2026-01-12 16:50:11 +0300
commit9436897bfb8b5f72109667d86aed06d9a9d1a693 (patch)
tree63fa207a1190e40933f2655963e3abc2c72f9aed /reply.c
parentf2bccaf552234dd0bea3adbb7640e91e91b5b0e2 (diff)
downloadlibreircd-9436897bfb8b5f72109667d86aed06d9a9d1a693.tar.gz
libreircd-9436897bfb8b5f72109667d86aed06d9a9d1a693.zip
Implement 443
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 2aa0e9b..5409908 100644
--- a/reply.c
+++ b/reply.c
@@ -125,6 +125,12 @@ vreply(const struct Peer *peer, int number, va_list ap)
 		hostname,
 		getnick(peer)
 	), _);
+	REPLY(433, WRITE(
+		":%s 431 %s %s :Nickname is already in use",
+		hostname,
+		getnick(peer),
+		nick
+	), nick, _);
 	REPLY(442, WRITE(
 		":%s 442 %s %s :You're not on that channel",
 		hostname,