/************************************************************************ * IRC - Internet Relay Chat, include/numeric.h * Copyright (C) 1990 Jarkko Oikarinen * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 1, or (at your option) * any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
/* * — Avalon — 13 May 1992 * * Added RPL_STATSLLINE */
/* * — Avalon — 12 Jan 1992 * * Added RPL_TRACELINK */
/* * — Wumpus — 30 Nov 1991 * * It’s very important that you never change what a numeric means — * you can delete old ones (maybe) and add new ones, but never ever * take a number and make it suddenly mean something else, or change * an old number just for the hell of it. */
/* * — avalon — 19 Nov 1991 * Added ERRUSERSDONTMATCH * * — avalon — 06 Nov 1991 * Added RPLBANLIST, RPLBANLISTEND, ERRBANNEDFROMCHAN * * — avalon — 15 Oct 1991 * Added RPLTRACEs (201-209) * Added RPLSTATSs (211-219) */
/* — Jto — 16 Jun 1990 * A couple of new numerics added… */
/* — Jto — 03 Jun 1990 * Added ERRYOUWILLBEBANNED and Check defines (sigh, had to put ‘em here..) * Added ERRUNKNOWNMODE… * Added ERR_CANNOTSENDTOCHAN… */
/* * Reserve numerics 000-099 for server-client connections where the client * is local to the server. If any server is passed a numeric in this range * from another server then it is remapped to 100-199. -avalon */
define RPL_MYINFO 001
/* * Errors are in the range from 400-599 currently and are grouped by what * commands they come from. */
define ERR_NOSUCHNICK 401
define ERR_NOSUCHSERVER 402
define ERR_NOSUCHCHANNEL 403
define ERR_CANNOTSENDTOCHAN 404
define ERR_TOOMANYCHANNELS 405
define ERR_WASNOSUCHNICK 406
define ERR_TOOMANYTARGETS 407
define ERR_NOSUCHSERVICE 408
define ERR_NORECIPIENT 411
define ERR_NOTEXTTOSEND 412
define ERR_NOTOPLEVEL 413
define ERR_WILDTOPLEVEL 414
define ERR_UNKNOWNCOMMAND 421
define ERR_NONICKNAMEGIVEN 431
define ERR_ERRONEUSNICKNAME 432
define ERR_NICKNAMEINUSE 433
define ERR_SERVICENAMEINUSE 434
define ERR_SERVICECONFUSED 435
define ERR_USERNOTINCHANNEL 441
define ERR_NOTONCHANNEL 442
define ERR_USERONCHANNEL 443
define ERR_NOTREGISTERED 451
define ERR_NEEDMOREPARAMS 461
define ERR_ALREADYREGISTRED 462
define ERR_NOPERMFORHOST 463
define ERR_PASSWDMISMATCH 464
define ERR_YOUREBANNEDCREEP 465
define ERR_YOUWILLBEBANNED 466
define ERR_CHANNELISFULL 471
define ERR_UNKNOWNMODE 472
define ERR_INVITEONLYCHAN 473
define ERR_BANNEDFROMCHAN 474
define ERR_NOPRIVILEGES 481
define ERR_CHANOPRIVSNEEDED 482
define ERR_NOOPERHOST 491
define ERR_NOSERVICEHOST 492
define ERR_UMODEUNKNOWNFLAG 501
define ERR_USERSDONTMATCH 502
/* * Numberic replies from server commands. * These are currently in the range 200-399. */
define RPL_AWAY 301
define RPL_USERHOST 302
define RPL_ISON 303
define RPL_TEXT 304
define RPL_WHOISUSER 311
define RPL_WHOISSERVER 312
define RPL_WHOISOPERATOR 313
define RPL_WHOWASUSER 314
/* rpl_endofwho below (315) */
define RPL_WHOISCHANOP 316 /* redundant and not needed but reserved */
define RPL_WHOISIDLE 317
define RPL_ENDOFWHOIS 318
define RPL_WHOISCHANNELS 319
define RPL_LISTSTART 321
define RPL_LIST 322
define RPL_LISTEND 323
define RPL_CHANNELMODEIS 324
define RPL_NOTOPIC 331
define RPL_TOPIC 332
define RPL_INVITING 341
define RPL_VERSION 351
define RPL_WHOREPLY 352
define RPL_ENDOFWHO 315
define RPL_NAMREPLY 353
define RPL_ENDOFNAMES 366
define RPL_KILLDONE 361
define RPL_LINKS 364
define RPL_ENDOFLINKS 365
/* rpl_endofnames above (366) */