/* * ---------------------------------------------------------------- * Night Light Internet Relay Chat Numerics (irc_numerics.h) * ---------------------------------------------------------------- * Copyright (C) 1997-2003 Jonas Kvinge * All rights reserved. * * 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 2 of the License, 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., * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. * * Last modified by: * Jonas Kvinge (18.07.2001) * * */ #ifdef IRC_NUMERICS_H #warning "irc_numerics.h already included." #else #define IRC_NUMERICS_H #define IRC_RFC1459_RPL_WELCOME 1 /* "Welcome to the Internet Relay Network !@" */ #define IRC_RFC1459_RPL_YOURHOST 2 /* "Your host is , running version " */ #define IRC_RFC1459_RPL_CREATED 3 /* "This server was created " */ #define IRC_RFC1459_RPL_MYINFO 4 /* " " */ #define IRC_RFC1459_ERR_NOSUCHNICK 401 /* " :No such nick/channel" */ #define IRC_RFC1459_ERR_NOSUCHSERVER 402 /* " :No such server" */ #define IRC_RFC1459_ERR_NOSUCHCHANNEL 403 /* " :No such channel" */ #define IRC_RFC1459_ERR_CANNOTSENDTOCHAN 404 /* " :Cannot send to channel" */ #define IRC_RFC1459_ERR_TOOMANYCHANNELS 405 /* " :You have joined too many channels" */ #define IRC_RFC1459_ERR_WASNOSUCHNICK 406 /* " :There was no such nickname" */ #define IRC_RFC1459_ERR_TOOMANYTARGETS 407 /* " :Duplicate recipients. No message delivered" */ #define IRC_RFC1459_ERR_NOORIGIN 409 /* ":No origin specified" */ #define IRC_RFC1459_ERR_NORECIPIENT 411 /* ":No recipient given ()" */ #define IRC_RFC1459_ERR_NOTEXTTOSEND 412 /* ":No text to send" */ #define IRC_RFC1459_ERR_NOTOPLEVEL 413 /* " :No toplevel domain specified" */ #define IRC_RFC1459_ERR_WILDTOPLEVEL 414 /* " :Wildcard in toplevel domain" */ #define IRC_RFC1459_ERR_UNKNOWNCOMMAND 421 /* " :Unknown command" */ #define IRC_RFC1459_ERR_NOMOTD 422 /* ":MOTD File is missing" */ #define IRC_RFC1459_ERR_NOADMININFO 423 /* " :No administrative info available" */ #define IRC_RFC1459_ERR_FILEERROR 424 /* ":File error doing on " */ #define IRC_RFC1459_ERR_NONICKNAMEGIVEN 431 /* ":No nickname given" */ #define IRC_RFC1459_ERR_ERRONEUSNICKNAME 432 /* " :Erroneus nickname" */ #define IRC_RFC1459_ERR_NICKNAMEINUSE 433 /* " :Nickname is already in use" */ #define IRC_RFC1459_ERR_NICKCOLLISION 436 /* " :Nickname collision KILL" */ #define IRC_RFC1459_ERR_USERNOTINCHANNEL 441 /* " :They aren't on that channel" */ #define IRC_RFC1459_ERR_NOTONCHANNEL 442 /* " :You're not on that channel" */ #define IRC_RFC1459_ERR_USERONCHANNEL 443 /* " :is already on channel" */ #define IRC_RFC1459_ERR_NOLOGIN 444 /* " :User not logged in" */ #define IRC_RFC1459_ERR_SUMMONDISABLED 445 /* ":SUMMON has been disabled" */ #define IRC_RFC1459_ERR_USERSDISABLED 446 /* ":USERS has been disabled" */ #define IRC_RFC1459_ERR_NOTREGISTERED 451 /* ":You have not registered" */ #define IRC_RFC1459_ERR_NEEDMOREPARAMS 461 /* " :Not enough parameters" */ #define IRC_RFC1459_ERR_ALREADYREGISTRED 462 /* ":You may not reregister" */ #define IRC_RFC1459_ERR_NOPERMFORHOST 463 /* ":Your host isn't among the privileged" */ #define IRC_RFC1459_ERR_PASSWDMISMATCH 464 /* ":Password incorrect" */ #define IRC_RFC1459_ERR_YOUREBANNEDCREEP 465 /* ":You are banned from this server" */ #define IRC_RFC1459_ERR_KEYSET 467 /* " :Channel key already set" */ #define IRC_RFC1459_ERR_CHANNELISFULL 471 /* " :Cannot join channel (+l)" */ #define IRC_RFC1459_ERR_UNKNOWNMODE 472 /* " :is unknown mode char to me" */ #define IRC_RFC1459_ERR_INVITEONLYCHAN 473 /* " :Cannot join channel (+i)" */ #define IRC_RFC1459_ERR_BANNEDFROMCHAN 474 /* " :Cannot join channel (+b)" */ #define IRC_RFC1459_ERR_BADCHANNELKEY 475 /* " :Cannot join channel (+k)" */ #define IRC_RFC1459_ERR_NOPRIVILEGES 481 /* ":Permission Denied- You're not an IRC operator" */ #define IRC_RFC1459_ERR_CHANOPRIVSNEEDED 482 /* " :You're not channel operator" */ #define IRC_RFC1459_ERR_CANTKILLSERVER 483 /* ":You cant kill a server!" */ #define IRC_RFC1459_ERR_NOOPERHOST 491 /* ":No O-lines for your host" */ #define IRC_RFC1459_ERR_UMODEUNKNOWNFLAG 501 /* ":Unknown MODE flag" */ #define IRC_RFC1459_ERR_USERSDONTMATCH 502 /* ":Cant change mode for other users" */ #define IRC_RFC1459_RPL_NONE 300 /* Dummy reply number. Not used. */ #define IRC_RFC1459_RPL_USERHOST 302 /* ":[{}]" */ #define IRC_RFC1459_RPL_ISON 303 /* ":[ {}]" */ #define IRC_RFC1459_RPL_AWAY 301 /* " :" */ #define IRC_RFC1459_RPL_UNAWAY 305 /* ":You are no longer marked as being away" */ #define IRC_RFC1459_RPL_NOWAWAY 306 /* ":You have been marked as being away" */ #define IRC_RFC1459_RPL_WHOISUSER 311 /* " * :" */ #define IRC_RFC1459_RPL_WHOISSERVER 312 /* " :" */ #define IRC_RFC1459_RPL_WHOISOPERATOR 313 /* " :is an IRC operator" */ #define IRC_RFC1459_RPL_WHOISIDLE 317 /* " :seconds idle" */ #define IRC_RFC1459_RPL_ENDOFWHOIS 318 /* " :End of /WHOIS list" */ #define IRC_RFC1459_RPL_WHOISCHANNELS 319 /* " :{[@|+]}" */ #define IRC_RFC1459_RPL_WHOWASUSER 314 /* " * :" */ #define IRC_RFC1459_RPL_ENDOFWHOWAS 369 /* " :End of WHOWAS" */ #define IRC_RFC1459_RPL_LISTSTART 321 /* "Channel :Users Name" */ #define IRC_RFC1459_RPL_LIST 322 /* " <# visible> :" */ #define IRC_RFC1459_RPL_LISTEND 323 /* ":End of /LIST" */ #define IRC_RFC1459_RPL_CHANNELMODEIS 324 /* " " */ #define IRC_RFC1459_RPL_NOTOPIC 331 /* " :No topic is set" */ #define IRC_RFC1459_RPL_TOPIC 332 /* " :" */ #define IRC_RFC1459_RPL_INVITING 341 /* " " */ #define IRC_RFC1459_RPL_SUMMONING 342 /* " :Summoning user to IRC" */ #define IRC_RFC1459_RPL_VERSION 351 /* ". :" */ #define IRC_RFC1459_RPL_WHOREPLY 352 /* " [*][@|+] : " */ #define IRC_RFC1459_RPL_ENDOFWHO 315 /* " :End of /WHO list" */ #define IRC_RFC1459_RPL_NAMEREPLY 353 /* " :[[@|+] [[@|+] [...]]]" */ #define IRC_RFC1459_RPL_ENDOFNAMES 366 /* " :End of /NAMES list" */ #define IRC_RFC1459_RPL_LINKS 364 /* " : " */ #define IRC_RFC1459_RPL_ENDOFLINKS 365 /* " :End of /LINKS list" */ #define IRC_RFC1459_RPL_BANLIST 367 /* " " */ #define IRC_RFC1459_RPL_INFO 371 /* ":" */ #define IRC_RFC1459_RPL_ENDOFINFO 374 /* ":End of /INFO list" */ #define IRC_RFC1459_RPL_MOTDSTART 375 /* ":- Message of the day - " */ #define IRC_RFC1459_RPL_MOTD 372 /* ":- " */ #define IRC_RFC1459_RPL_ENDOFMOTD 376 /* ":End of /MOTD command" */ #define IRC_RFC1459_RPL_YOUREOPER 381 /* ":You are now an IRC operator" */ #define IRC_RFC1459_RPL_REHASHING 382 /* " :Rehashing" */ #define IRC_RFC1459_RPL_TIME 391 /* " :" */ #define IRC_RFC1459_RPL_USERSSTART 392 /* ":UserID Terminal Host" */ #define IRC_RFC1459_RPL_USERS 393 /* ":%-8s %-9s %-8s" */ #define IRC_RFC1459_RPL_ENDOFUSERS 394 /* ":End of users" */ #define IRC_RFC1459_RPL_NOUSERS 395 /* ":Nobody logged in" */ #define IRC_RFC1459_RPL_TRACELINK 200 /* "Link " */ #define IRC_RFC1459_RPL_TRACECONNECTING 201 /* "Try. " */ #define IRC_RFC1459_RPL_TRACEHANDSHAKE 202 /* "H.S. " */ #define IRC_RFC1459_RPL_TRACEUNKNOWN 203 /* "???? []" */ #define IRC_RFC1459_RPL_TRACEOPERATOR 204 /* "Oper " */ #define IRC_RFC1459_RPL_TRACEUSER 205 /* "User " */ #define IRC_RFC1459_RPL_TRACESERVER 206 /* "Serv S C @" */ #define IRC_RFC1459_RPL_TRACENEWTYPE 208 /* " 0 " */ #define IRC_RFC1459_RPL_TRACELOG 261 /* "File " */ #define IRC_RFC1459_RPL_STATSLINKINFO 211 /*