From 0797f1312163ccc5174e52042d87af21dc042124 Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 13 Jul 2008 22:57:45 +0000 Subject: Convert more stuff to use numerics.h, change SERVER to send ERR_ALREADYREGISTERED instead of picking a random numeric. Also no longer send a notice to opers, as 1) this could flood and 2) stupid things like cgiirc will trigger this a lot. Additionally, add a note to REHASH about finding a way to kill rehash thread if needed. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10013 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/numerics.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'include/numerics.h') diff --git a/include/numerics.h b/include/numerics.h index 90a739d2f..53620661e 100644 --- a/include/numerics.h +++ b/include/numerics.h @@ -45,6 +45,7 @@ enum Numerics RPL_CHANNELCREATED = 329, // ??? RPL_TOPIC = 332, RPL_TOPICTIME = 333, // not RFC, extremely common though + RPL_VERSION = 351, RPL_NAMREPLY = 353, RPL_ENDOFNAMES = 366, @@ -52,12 +53,15 @@ enum Numerics RPL_MOTDSTART = 375, RPL_ENDOFMOTD = 376, + RPL_REHASHING = 382, + RPL_TIME = 391, RPL_YOURDISPLAYEDHOST = 396, // from charybdis/etc, common convention /* * Error range of numerics. */ ERR_NOSUCHNICK = 401, + ERR_NOSUCHCHANNEL = 403, // used to indicate an invalid channel name also, so don't rely on RFC text (don't do that anyway!) ERR_TOOMANYCHANNELS = 405, ERR_UNKNOWNCOMMAND = 421, ERR_NOMOTD = 422, @@ -65,6 +69,7 @@ enum Numerics ERR_USERNOTINCHANNEL = 441, ERR_NOTREGISTERED = 451, ERR_NEEDMOREPARAMS = 461, + ERR_ALREADYREGISTERED = 462, /* * A quick side-rant about the next group of numerics.. -- cgit v1.2.3