diff options
author | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-07-13 19:58:28 +0000 |
---|---|---|
committer | w00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7> | 2008-07-13 19:58:28 +0000 |
commit | 468144eb0b823833b09717ad954530ee3b60cbc0 (patch) | |
tree | c9609d378ef52a5858563c7e1da3cc7e37bd58e3 /include | |
parent | 48103a05e75dc208bcd01b62b19ae01158c01b50 (diff) |
More conversion, and a note to client coders.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10011 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'include')
-rw-r--r-- | include/numerics.h | 28 |
1 files changed, 27 insertions, 1 deletions
diff --git a/include/numerics.h b/include/numerics.h index 2679d7413..23bac8abb 100644 --- a/include/numerics.h +++ b/include/numerics.h @@ -59,16 +59,42 @@ enum Numerics */ ERR_NOSUCHNICK = 401, ERR_TOOMANYCHANNELS = 405, + ERR_UNKNOWNCOMMAND = 421, ERR_NOMOTD = 422, ERR_NORULES = 434, // unrealircd ERR_USERNOTINCHANNEL = 441, + ERR_NOTREGISTERED = 451, + ERR_NEEDMOREPARAMS = 461, + + /* + * A quick side-rant about the next group of numerics.. + * There are clients out there that like to assume that just because they don't recieve a numeric + * they know, that they have joined the channel. + * + * If IRC was at all properly standardised, this may even be a semi-acceptable assumption to make, + * but that's not the case as we all know, so IT IS NOT ACCEPTABLE. Especially for Insp users, where + * differing modules MAY potentially choose to block joins and send NOTICEs or other text to the user + * instead! + * + * tl;dr version: + * DON'T MAKE YOUR CLIENT ASSUME YOU JOINED UNLESS YOU RECIEVE A JOIN WITH YOUR DAMN NICK ON IT. + * Thanks. + * + * -- A message from the IRC group for coder sanity, and w00t + */ ERR_BADCHANNELKEY = 475, ERR_INVITEONLYCHAN = 473, ERR_CHANNELISFULL = 471, ERR_BANNEDFROMCHAN = 474, + ERR_NOPRIVILEGES = 481, // rfc, beware though, we use this for other things opers may not do also ERR_CHANOPRIVSNEEDED = 482, // rfc, beware though, we use this for other things like trying to kick a uline ERR_UNKNOWNSNOMASK = 501, // not rfc. unrealircd? - ERR_USERSDONTMATCH = 502 + ERR_USERSDONTMATCH = 502, + + ERR_CANTUNLOADMODULE = 972, // insp-specific + RPL_UNLOADEDMODULE = 973, // insp-specific + ERR_CANTLOADMODULE = 974, // insp-specific + RPL_LOADEDMODULE = 975 // insp-specific }; |