about summary refs log tree commit diff
path: root/reply.c
diff options
context:
space:
mode:
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,