Fixed bug with response documentation.

This commit is contained in:
Aaron Weiss 2017-06-22 16:02:03 -04:00
parent 2055603a5d
commit bfb14c0446
No known key found for this signature in database
GPG key ID: 0237035D9BF03AE2

View file

@ -118,243 +118,243 @@ make_response! {
RPL_ENDOFINFO = 374,
/// `375 :- <server> Message of the day -`
RPL_MOTDSTART = 375,
/// `372 :- <text>
/// `372 :- <text>`
RPL_MOTD = 372,
/// `376 :End of MOTD command
/// `376 :End of MOTD command`
RPL_ENDOFMOTD = 376,
/// `381 :You are now an IRC operator
/// `381 :You are now an IRC operator`
RPL_YOUREOPER = 381,
/// `382 <config file> :Rehashing
/// `382 <config file> :Rehashing`
RPL_REHASHING = 382,
/// `383 You are service <servicename>
/// `383 You are service <servicename>`
RPL_YOURESERVICE = 383,
/// `391 <server> :<string showing server's local time>
/// `391 <server> :<string showing server's local time>`
RPL_TIME = 391,
/// `392 :UserID Terminal Host
/// `392 :UserID Terminal Host`
RPL_USERSSTART = 392,
/// `393 :<username> <ttyline> <hostname>
/// `393 :<username> <ttyline> <hostname>`
RPL_USERS = 393,
/// `394 :End of users
/// `394 :End of users`
RPL_ENDOFUSERS = 394,
/// `395 :Nobody logged in
/// `395 :Nobody logged in`
RPL_NOUSERS = 395,
/** `200 Link <version & debug level> <destination> <next server> V<protocol version>
<link uptime in seconds> <backstream sendq> <upstream sendq> **/
<link uptime in seconds> <backstream sendq> <upstream sendq>` **/
RPL_TRACELINK = 200,
/// `201 Try. <class> <server>
/// `201 Try. <class> <server>`
RPL_TRACECONNECTING = 201,
/// `202 H.S. <class> <server>
/// `202 H.S. <class> <server>`
RPL_TRACEHANDSHAKE = 202,
/// `203 ???? <class> [<client IP address in dot form>]
/// `203 ???? <class> [<client IP address in dot form>]`
RPL_TRACEUKNOWN = 203,
/// `204 Oper <class> <nick>
/// `204 Oper <class> <nick>`
RPL_TRACEOPERATOR = 204,
/// `205 User <class> <nick>
/// `205 User <class> <nick>`
RPL_TRACEUSER = 205,
/// `206 Serv <class> <int>S <int>C <server> <nick!user|*!*>@<host|server> V<protocol version>
/// `206 Serv <class> <int>S <int>C <server> <nick!user|*!*>@<host|server> V<protocol version>`
RPL_TRACESERVER = 206,
/// `207 Service <class> <name> <type> <active type>
/// `207 Service <class> <name> <type> <active type>`
RPL_TRACESERVICE = 207,
/// `208 <newtype> 0 <client name>
/// `208 <newtype> 0 <client name>`
RPL_TRACENEWTYPE = 208,
/// `209 Class <class> <count>
/// `209 Class <class> <count>`
RPL_TRACECLASS = 209,
/// Unused.
RPL_TRACERECONNECT = 210,
/// `261 File <logfile> <debug level>
/// `261 File <logfile> <debug level>`
RPL_TRACELOG = 261,
/// `262 <server name> <version & debug level> :End of TRACE
/// `262 <server name> <version & debug level> :End of TRACE`
RPL_TRACEEND = 262,
/** `211 <linkname> <sendq> <sent messages> <sent Kbytes> <received messages> <received Kbytes>
<time open> **/
<time open>` **/
RPL_STATSLINKINFO = 211,
/// `212 <command> <count> <byte count> <remote count>
/// `212 <command> <count> <byte count> <remote count>`
RPL_STATSCOMMANDS = 212,
/// `219 <stats letter> :End of STATS report
/// `219 <stats letter> :End of STATS report`
RPL_ENDOFSTATS = 219,
/// `242 :Server Up %d days %d:%02d:%02d
/// `242 :Server Up %d days %d:%02d:%02d`
RPL_STATSUPTIME = 242,
/// `243 O <hostmask> * <name>
/// `243 O <hostmask> * <name>`
RPL_STATSOLINE = 243,
/// `221 <user mode string>
/// `221 <user mode string>`
RPL_UMODEIS = 221,
/// `234 <name> <server> <mask> <type> <hopcount> <info>
/// `234 <name> <server> <mask> <type> <hopcount> <info>`
RPL_SERVLIST = 234,
/// `235 <mask> <type> :End of service listing
/// `235 <mask> <type> :End of service listing`
RPL_SERVLISTEND = 235,
/// `251 :There are <integer> users and <integer> services on <integer> servers
/// `251 :There are <integer> users and <integer> services on <integer> servers`
RPL_LUSERCLIENT = 251,
/// `252 <integer> :operator(s) online
/// `252 <integer> :operator(s) online`
RPL_LUSEROP = 252,
/// `253 <integer> :unknown connection(s)
/// `253 <integer> :unknown connection(s)`
RPL_LUSERUNKNOWN = 253,
/// `254 <integer> :channels formed
/// `254 <integer> :channels formed`
RPL_LUSERCHANNELS = 254,
/// `255 :I have <integer> clients and <integer> servers
/// `255 :I have <integer> clients and <integer> servers`
RPL_LUSERME = 255,
/// `256 <server> :Administrative info
/// `256 <server> :Administrative info`
RPL_ADMINME = 256,
/// `257 :<admin info>
/// `257 :<admin info>`
RPL_ADMINLOC1 = 257,
/// `258 :<admin info>
/// `258 :<admin info>`
RPL_ADMINLOC2 = 258,
/// `259 :<admin info>
/// `259 :<admin info>`
RPL_ADMINEMAIL = 259,
/// `263 <command> :Please wait a while and try again.
/// `263 <command> :Please wait a while and try again.`
RPL_TRYAGAIN = 263,
/// `730 <nick> :target[,target2]*
/// `730 <nick> :target[,target2]*`
RPL_MONONLINE = 730,
/// `731 <nick> :target[,target2]*
/// `731 <nick> :target[,target2]*`
RPL_MONOFFLINE = 731,
/// `732 <nick> :target[,target2]*
/// `732 <nick> :target[,target2]*`
RPL_MONLIST = 732,
/// `733 <nick> :End of MONITOR list
/// `733 <nick> :End of MONITOR list`
RPL_ENDOFMONLIST = 733,
/// `760 <target> <key> <visibility> :<value>
/// `760 <target> <key> <visibility> :<value>`
RPL_WHOISKEYVALUE = 760,
/// `761 <target> <key> <visibility> :[<value>]
/// `761 <target> <key> <visibility> :[<value>]`
RPL_KEYVALUE = 761,
/// `762 :end of metadata
/// `762 :end of metadata`
RPL_METADATAEND = 762,
/// `900 <nick> <nick>!<ident>@<host> <account> :You are now logged in as <user>
/// `900 <nick> <nick>!<ident>@<host> <account> :You are now logged in as <user>`
RPL_LOGGEDIN = 900,
/// `901 <nick> <nick>!<ident>@<host> :You are now logged out
/// `901 <nick> <nick>!<ident>@<host> :You are now logged out`
RPL_LOGGEDOUT = 901,
/// `903 <nick> :SASL authentication successful
/// `903 <nick> :SASL authentication successful`
RPL_SASLSUCCESS = 903,
/// `908 <nick> <mechanisms> :are available SASL mechanisms
/// `908 <nick> <mechanisms> :are available SASL mechanisms`
RPL_SASLMECHS = 908,
// Error replies
/// `401 <nickname> :No such nick/channel
/// `401 <nickname> :No such nick/channel`
ERR_NOSUCHNICK = 401,
/// `402 <server name> :No such server
/// `402 <server name> :No such server`
ERR_NOSUCHSERVER = 402,
/// `403 <channel name> :No such channel
/// `403 <channel name> :No such channel`
ERR_NOSUCHCHANNEL = 403,
/// `404 <channel name> :Cannot send to channel
/// `404 <channel name> :Cannot send to channel`
ERR_CANNOTSENDTOCHAN = 404,
/// `405 <channel name> :You have joined too many channels
/// `405 <channel name> :You have joined too many channels`
ERR_TOOMANYCHANNELS = 405,
/// `406 <nickname> :There was no such nickname
/// `406 <nickname> :There was no such nickname`
ERR_WASNOSUCHNICK = 406,
/// `407 <target> :<error code> recipients. <abort message>
/// `407 <target> :<error code> recipients. <abort message>`
ERR_TOOMANYTARGETS = 407,
/// `408 <service name> :No such service
/// `408 <service name> :No such service`
ERR_NOSUCHSERVICE = 408,
/// `409 :No origin specified
/// `409 :No origin specified`
ERR_NOORIGIN = 409,
/// `411 :No recipient given (<command>)
/// `411 :No recipient given (<command>)`
ERR_NORECIPIENT = 411,
/// `412 :No text to send
/// `412 :No text to send`
ERR_NOTEXTTOSEND = 412,
/// `413 <mask> :No toplevel domain specified
/// `413 <mask> :No toplevel domain specified`
ERR_NOTOPLEVEL = 413,
/// `414 <mask> :Wildcard in toplevel domain
/// `414 <mask> :Wildcard in toplevel domain`
ERR_WILDTOPLEVEL = 414,
/// `415 <mask> :Bad Server/host mask
/// `415 <mask> :Bad Server/host mask`
ERR_BADMASK = 415,
/// `421 <command> :Unknown command
/// `421 <command> :Unknown command`
ERR_UNKNOWNCOMMAND = 421,
/// `422 :MOTD File is missing
/// `422 :MOTD File is missing`
ERR_NOMOTD = 422,
/// `423 <server> :No administrative info available
/// `423 <server> :No administrative info available`
ERR_NOADMININFO = 423,
/// `424 :File error doing <file op> on <file>
/// `424 :File error doing <file op> on <file>`
ERR_FILEERROR = 424,
/// `431 :No nickname given
/// `431 :No nickname given`
ERR_NONICKNAMEGIVEN = 431,
/// `432 <nick> :Erroneous nickname"
/// `432 <nick> :Erroneous nickname"`
ERR_ERRONEOUSNICKNAME = 432,
/// `433 <nick> :Nickname is already in use
/// `433 <nick> :Nickname is already in use`
ERR_NICKNAMEINUSE = 433,
/// `436 <nick> :Nickname collision KILL from <user>@<host>
/// `436 <nick> :Nickname collision KILL from <user>@<host>`
ERR_NICKCOLLISION = 436,
/// `437 <nick/channel> :Nick/channel is temporarily unavailable
/// `437 <nick/channel> :Nick/channel is temporarily unavailable`
ERR_UNAVAILRESOURCE = 437,
/// `441 <nick> <channel> :They aren't on that channel
/// `441 <nick> <channel> :They aren't on that channel`
ERR_USERNOTINCHANNEL = 441,
/// `442 <channel> :You're not on that channel
/// `442 <channel> :You're not on that channel`
ERR_NOTONCHANNEL = 442,
/// `443 <user> <channel> :is already on channel
/// `443 <user> <channel> :is already on channel`
ERR_USERONCHANNEL = 443,
/// `444 <user> :User not logged in
/// `444 <user> :User not logged in`
ERR_NOLOGIN = 444,
/// `445 :SUMMON has been disabled
/// `445 :SUMMON has been disabled`
ERR_SUMMONDISABLED = 445,
/// `446 :USERS has been disabled
/// `446 :USERS has been disabled`
ERR_USERSDISABLED = 446,
/// `451 :You have not registered
/// `451 :You have not registered`
ERR_NOTREGISTERED = 451,
/// `461 <command> :Not enough parameters
/// `461 <command> :Not enough parameters`
ERR_NEEDMOREPARAMS = 461,
/// `462 :Unauthorized command (already registered)
/// `462 :Unauthorized command (already registered)`
ERR_ALREADYREGISTRED = 462,
/// `463 :Your host isn't among the privileged
/// `463 :Your host isn't among the privileged`
ERR_NOPERMFORHOST = 463,
/// `464 :Password incorrect
/// `464 :Password incorrect`
ERR_PASSWDMISMATCH = 464,
/// `465 :You are banned from this server
/// `465 :You are banned from this server`
ERR_YOUREBANNEDCREEP = 465,
/// `466
/// `466`
ERR_YOUWILLBEBANNED = 466,
/// `467 <channel> :Channel key already set
/// `467 <channel> :Channel key already set`
ERR_KEYSET = 467,
/// `471 <channel> :Cannot join channel (+l)
/// `471 <channel> :Cannot join channel (+l)`
ERR_CHANNELISFULL = 471,
/// `472 <char> :is unknown mode char to me for <channel>
/// `472 <char> :is unknown mode char to me for <channel>`
ERR_UNKNOWNMODE = 472,
/// `473 <channel> :Cannot join channel (+i)
/// `473 <channel> :Cannot join channel (+i)`
ERR_INVITEONLYCHAN = 473,
/// `474 <channel> :Cannot join channel (+b)
/// `474 <channel> :Cannot join channel (+b)`
ERR_BANNEDFROMCHAN = 474,
/// `475 <channel> :Cannot join channel (+k)
/// `475 <channel> :Cannot join channel (+k)`
ERR_BADCHANNELKEY = 475,
/// `476 <channel> :Bad Channel Mask
/// `476 <channel> :Bad Channel Mask`
ERR_BADCHANMASK = 476,
/// `477 <channel> :Channel doesn't support modes
/// `477 <channel> :Channel doesn't support modes`
ERR_NOCHANMODES = 477,
/// `478 <channel> <char> :Channel list is full
/// `478 <channel> <char> :Channel list is full`
ERR_BANLISTFULL = 478,
/// `481 :Permission Denied- You're not an IRC operator
/// `481 :Permission Denied- You're not an IRC operator`
ERR_NOPRIVILEGES = 481,
/// `482 <channel> :You're not channel operator
/// `482 <channel> :You're not channel operator`
ERR_CHANOPRIVSNEEDED = 482,
/// `483 :You can't kill a server!
/// `483 :You can't kill a server!`
ERR_CANTKILLSERVER = 483,
/// `484 :Your connection is restricted!
/// `484 :Your connection is restricted!`
ERR_RESTRICTED = 484,
/// `485 :You're not the original channel operator
/// `485 :You're not the original channel operator`
ERR_UNIQOPPRIVSNEEDED = 485,
/// `491 :No O-lines for your host
/// `491 :No O-lines for your host`
ERR_NOOPERHOST = 491,
/// `501 :Unknown MODE flag
/// `501 :Unknown MODE flag`
ERR_UMODEUNKNOWNFLAG = 501,
/// `502 :Cannot change mode for other users
/// `502 :Cannot change mode for other users`
ERR_USERSDONTMATCH = 502,
/// `734 <nick> <limit> <targets> :Monitor list is full.
/// `734 <nick> <limit> <targets> :Monitor list is full.`
ERR_MONLISTFULL = 734,
/// `764 <target> :metadata limit reached
/// `764 <target> :metadata limit reached`
ERR_METADATALIMIT = 764,
/// `765 <target> :invalid metadata target
/// `765 <target> :invalid metadata target`
ERR_TARGETINVALID = 765,
/// `766 <key> :no matching key
/// `766 <key> :no matching key`
ERR_NOMATCHINGKEY = 766,
/// `767 <key> :invalid metadata key
/// `767 <key> :invalid metadata key`
ERR_KEYINVALID = 767,
/// `768 <target> <key> :key not set
/// `768 <target> <key> :key not set`
ERR_KEYNOTSET = 768,
/// `769 <target> <key> :permission denied
/// `769 <target> <key> :permission denied`
ERR_KEYNOPERMISSION = 769,
/// `902 <nick> :You must use a nick assigned to you.
/// `902 <nick> :You must use a nick assigned to you.`
ERR_NICKLOCKED = 902,
/// `904 <nick> :SASL authentication failed
/// `904 <nick> :SASL authentication failed`
ERR_SASLFAIL = 904,
/// `905 <nick> :SASL message too long
/// `905 <nick> :SASL message too long`
ERR_SASLTOOLONG = 905,
/// `906 <nick> :SASL authentication aborted
/// `906 <nick> :SASL authentication aborted`
ERR_SASLABORT = 906,
/// `907 <nick> :You have already authenticated using SASL
/// `907 <nick> :You have already authenticated using SASL`
ERR_SASLALREADY = 907
}