From 723d6c19505a38ec28d4624437913f7b37fe8326 Mon Sep 17 00:00:00 2001 From: Jaidyn Ann Date: Tue, 10 Aug 2021 09:33:00 -0500 Subject: [PATCH] (irc) Add numerics file --- protocols/irc/Numerics.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 protocols/irc/Numerics.h diff --git a/protocols/irc/Numerics.h b/protocols/irc/Numerics.h new file mode 100644 index 0000000..8b5d7a5 --- /dev/null +++ b/protocols/irc/Numerics.h @@ -0,0 +1,17 @@ +#ifndef _RESPONSE_NUMERICS_H +#define _RESPONSE_NUMERICS_H + +#define RPL_WELCOME 1 +#define RPL_ENDOFWHO 315 +#define RPL_TOPIC 332 +#define RPL_WHOREPLY 352 +#define RPL_NAMREPLY 353 +#define RPL_MOTD 372 +#define RPL_MOTDSTART 375 +#define RPL_ENDOFMOTD 376 + +#define ERR_NONICKNAMEGIVEN 431 +#define ERR_ERRONEUSNICKNAME 432 +#define ERR_NICKNAMEINUSE 433 + +#endif // _RESPONSE_NUMERICS_H