diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-07-13 22:57:45 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-07-13 22:57:45 +0000 |
commit | 0797f1312163ccc5174e52042d87af21dc042124 (patch) | |
tree | b5578b969aeef7c4e156bea45c40f078c4ad7455 /include/numerics.h | |
parent | 7009fbf66e908c97e6204333c4ba8bd6bcc9a7a1 (diff) |
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
Diffstat (limited to 'include/numerics.h')
-rw-r--r-- | include/numerics.h | 5 |
1 files changed, 5 insertions, 0 deletions
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.. |