summary refs log tree commit diff
path: root/reply.c
diff options
context:
space:
mode:
Diffstat (limited to 'reply.c')
-rw-r--r--reply.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/reply.c b/reply.c
index 6670ecf..c5609e9 100644
--- a/reply.c
+++ b/reply.c
@@ -146,6 +146,11 @@ vreply(const struct Peer *peer, int number, va_list ap)
 		getnick(peer),
 		channel
 	), channel, _);
+	REPLY(381, WRITE(
+		":%s 381 %s :You are now an IRC operator",
+		hostname,
+		getnick(peer)
+	), _);
 	REPLY(401, WRITE(
 		":%s 401 %s %s :No such nick/channel",
 		hostname,
@@ -179,6 +184,12 @@ vreply(const struct Peer *peer, int number, va_list ap)
 		hostname,
 		getnick(peer)
 	), _);
+	REPLY(420, WRITE(
+		":%s 420 %s %s :OPER list is full",
+		hostname,
+		getnick(peer),
+		nick
+	), nick, _);
 	REPLY(421, WRITE(
 		":%s 421 %s %s :Unknown command",
 		hostname,
@@ -224,6 +235,11 @@ vreply(const struct Peer *peer, int number, va_list ap)
 		hostname,
 		getnick(peer)
 	), _);
+	REPLY(464, WRITE(
+		":%s 464 %s :Pasword incorrect",
+		hostname,
+		getnick(peer)
+	), _);
 	REPLY(471, WRITE(
 		":%s 471 %s %s :Cannot join channel (+l)",
 		hostname,