# libirc_rfcnumeric.h File Reference

This file defines RFC numeric reply codes, which should be used in event_numeric callback. Every code also has a comment regarding its arguments. More...

## Defines

#define | LIBIRC_RFC_RPL_WELCOME 001
| 001 Welcome to the Internet Relay Network <nick>!<user>@<host>
#define | LIBIRC_RFC_RPL_YOURHOST 002
| 002 Your host is <servername>, running version <ver>
#define | LIBIRC_RFC_RPL_CREATED 003
| 003 This server was created <date>
#define | LIBIRC_RFC_RPL_MYINFO 004
| 004 <servername> <version> <available user modes> <available channel modes>
#define | LIBIRC_RFC_RPL_BOUNCE 005
| 005 Try server <server name>, port <port number>
#define | LIBIRC_RFC_RPL_USERHOST 302
| 302 :*1<reply> *(
#define | LIBIRC_RFC_RPL_ISON 303
| 303 :*1<nick> *(
#define | LIBIRC_RFC_RPL_AWAY 301
| 301 <nick> :<away message>
#define | LIBIRC_RFC_RPL_UNAWAY 305
| 305 :You are no longer marked as being away
#define | LIBIRC_RFC_RPL_NOWAWAY 306
| 306 :You have been marked as being away
#define | LIBIRC_RFC_RPL_WHOISUSER 311
| 311 <nick> <user> <host> * :<real name>
#define | LIBIRC_RFC_RPL_WHOISSERVER 312
| 312 <nick> <server> :<server info>
#define | LIBIRC_RFC_RPL_WHOISOPERATOR 313
| 313 <nick> :is an IRC operator
#define | LIBIRC_RFC_RPL_WHOISIDLE 317
| 317 <nick> <integer> :seconds idle
#define | LIBIRC_RFC_RPL_ENDOFWHOIS 318
| 318 <nick> :End of WHOIS list
#define | LIBIRC_RFC_RPL_WHOISCHANNELS 319
| 319 "<nick> :*( ( "@" / "+" ) <channel> " " )"
#define | LIBIRC_RFC_RPL_WHOWASUSER 314
| 314 <nick> <user> <host> * :<real name>
#define | LIBIRC_RFC_RPL_ENDOFWHOWAS 369
| 369 <nick> :End of WHOWAS
#define | LIBIRC_RFC_RPL_LIST 322
| 322 <channel> <# visible> :<topic>
#define | LIBIRC_RFC_RPL_LISTEND 323
| 323 :End of LIST
#define | LIBIRC_RFC_RPL_UNIQOPIS 325
| 325 <channel> <nickname>
#define | LIBIRC_RFC_RPL_CHANNELMODEIS 324
| 324 <channel> <mode> <mode params>
#define | LIBIRC_RFC_RPL_NOTOPIC 331
| 331 <channel> :No topic is set
#define | LIBIRC_RFC_RPL_TOPIC 332
| 332 <channel> :<topic>
#define | LIBIRC_RFC_RPL_INVITING 341
| 341 <channel> <nick>
#define | LIBIRC_RFC_RPL_SUMMONING 342
| 342 <user> :Summoning user to IRC
#define | LIBIRC_RFC_RPL_INVITELIST 346
| 346 <channel> <invitemask>
#define | LIBIRC_RFC_RPL_ENDOFINVITELIST 347
| 347 <channel> :End of channel invite list
#define | LIBIRC_RFC_RPL_EXCEPTLIST 348
| 348 <channel> <exceptionmask>
#define | LIBIRC_RFC_RPL_ENDOFEXCEPTLIST 349
| 349 <channel> :End of channel exception list
#define | LIBIRC_RFC_RPL_VERSION 351
| 351 <version>.<debuglevel> <server> :<comments>
#define | LIBIRC_RFC_RPL_WHOREPLY 352
| 352 <channel> <user> <host> <server> <nick> ( "H
#define | LIBIRC_RFC_RPL_ENDOFWHO 315
| 315 <name> :End of WHO list
#define | LIBIRC_RFC_RPL_NAMREPLY 353
| 353 ( "=
#define | LIBIRC_RFC_RPL_ENDOFNAMES 366
| 366 <channel> :End of NAMES list
#define | LIBIRC_RFC_RPL_LINKS 364
| 364 <mask> <server> :<hopcount> <server info>
#define | LIBIRC_RFC_RPL_ENDOFLINKS 365
| 365 <mask> :End of LINKS list
#define | LIBIRC_RFC_RPL_BANLIST 367
| 367 <channel> <banmask>
#define | LIBIRC_RFC_RPL_ENDOFBANLIST 368
| 368 <channel> :End of channel ban list
#define | LIBIRC_RFC_RPL_INFO 371
| 371 :<string>
#define | LIBIRC_RFC_RPL_ENDOFINFO 374
| 374 :End of INFO list
#define | LIBIRC_RFC_RPL_MOTDSTART 375
| 375 :- <server> Message of the day -
#define | LIBIRC_RFC_RPL_MOTD 372
| 372 :- <text>
#define | LIBIRC_RFC_RPL_ENDOFMOTD 376
| 376 :End of MOTD command
#define | LIBIRC_RFC_RPL_YOUREOPER 381
| 381 :You are now an IRC operator
#define | LIBIRC_RFC_RPL_REHASHING 382
| 382 <config file> :Rehashing
#define | LIBIRC_RFC_RPL_YOURESERVICE 383
| 383 You are service <servicename>
#define | LIBIRC_RFC_RPL_TIME 391
| 391 <server> :<string showing server's local time>
#define | LIBIRC_RFC_RPL_USERSSTART 392
| 392 :UserID Terminal Host
#define | LIBIRC_RFC_RPL_USERS 393
| 393 :<username> <ttyline> <hostname>
#define | LIBIRC_RFC_RPL_ENDOFUSERS 394
| 394 :End of users
#define | LIBIRC_RFC_RPL_NOUSERS 395
| 395 :Nobody logged in
#define | LIBIRC_RFC_RPL_TRACELINK 200
| 200 Link <version & debug level> <destination> <next server> V<protocol version> <link uptime in seconds> <backstream sendq> <upstream sendq>
#define | LIBIRC_RFC_RPL_TRACECONNECTING 201
| 201 Try. <class> <server>
#define | LIBIRC_RFC_RPL_TRACEHANDSHAKE 202
| 202 H.S. <class> <server>
#define | LIBIRC_RFC_RPL_TRACEUNKNOWN 203
| 203 ???? <class> [<client IP address in dot form>]
#define | LIBIRC_RFC_RPL_TRACEOPERATOR 204
| 204 Oper <class> <nick>
#define | LIBIRC_RFC_RPL_TRACEUSER 205
| 205 User <class> <nick>
#define | LIBIRC_RFC_RPL_TRACESERVER 206
| 206 Serv <class> <int>S <int>C <server> <nick!user|*!*>@<host|server> V<protocol version>
#define | LIBIRC_RFC_RPL_TRACESERVICE 207
| 207 Service <class> <name> <type> <active type>
#define | LIBIRC_RFC_RPL_TRACENEWTYPE 208
| 208 <newtype> 0 <client name>
#define | LIBIRC_RFC_RPL_TRACECLASS 209
| 209 Class <class> <count>
#define | LIBIRC_RFC_RPL_TRACELOG 261
| 261 File <logfile> <debug level>
#define | LIBIRC_RFC_RPL_TRACEEND 262
| 262 <server name> <version & debug level> :End of TRACE
#define | LIBIRC_RFC_RPL_STATSLINKINFO 211
| 211 <linkname> <sendq> <sent messages> <sent Kbytes> <received messages> <received Kbytes> <time open>
#define | LIBIRC_RFC_RPL_STATSCOMMANDS 212
| 212 <command> <count> <byte count> <remote count>
#define | LIBIRC_RFC_RPL_ENDOFSTATS 219
| 219 <stats letter> :End of STATS report
#define | LIBIRC_RFC_RPL_STATSUPTIME 242
| 242 :Server Up d days d:02d:02d
#define | LIBIRC_RFC_RPL_STATSOLINE 243
| 243 O <hostmask> * <name>
#define | LIBIRC_RFC_RPL_UMODEIS 221
| 221 <user mode string>
#define | LIBIRC_RFC_RPL_SERVLIST 234
| 234 <name> <server> <mask> <type> <hopcount> <info>
#define | LIBIRC_RFC_RPL_SERVLISTEND 235
| 235 <mask> <type> :End of service listing
#define | LIBIRC_RFC_RPL_LUSERCLIENT 251
| 251 :There are <integer> users and <integer> services on <integer> servers
#define | LIBIRC_RFC_RPL_LUSEROP 252
| 252 <integer> :operator(s) online
#define | LIBIRC_RFC_RPL_LUSERUNKNOWN 253
| 253 <integer> :unknown connection(s)
#define | LIBIRC_RFC_RPL_LUSERCHANNELS 254
| 254 <integer> :channels formed
#define | LIBIRC_RFC_RPL_LUSERME 255
| 255 :I have <integer> clients and <integer> servers
#define | LIBIRC_RFC_RPL_ADMINME 256
| 256 <server> :Administrative info
#define | LIBIRC_RFC_RPL_ADMINLOC1 257
| 257 :<admin info>
#define | LIBIRC_RFC_RPL_ADMINLOC2 258
| 258 :<admin info>
#define | LIBIRC_RFC_RPL_ADMINEMAIL 259
| 259 :<admin info>
#define | LIBIRC_RFC_RPL_TRYAGAIN 263
| 263 <command> :Please wait a while and try again.
#define | LIBIRC_RFC_ERR_NOSUCHNICK 401
| 401 <nickname> :No such nick/channel
#define | LIBIRC_RFC_ERR_NOSUCHSERVER 402
| 402 <server name> :No such server
#define | LIBIRC_RFC_ERR_NOSUCHCHANNEL 403
| 403 <channel name> :No such channel
#define | LIBIRC_RFC_ERR_CANNOTSENDTOCHAN 404
| 404 <channel name> :Cannot send to channel
#define | LIBIRC_RFC_ERR_TOOMANYCHANNELS 405
| 405 <channel name> :You have joined too many channels
#define | LIBIRC_RFC_ERR_WASNOSUCHNICK 406
| 406 <nickname> :There was no such nickname
#define | LIBIRC_RFC_ERR_TOOMANYTARGETS 407
| 407 <target> :<error code> recipients. <abort message>
#define | LIBIRC_RFC_ERR_NOSUCHSERVICE 408
| 408 <service name> :No such service
#define | LIBIRC_RFC_ERR_NOORIGIN 409
| 409 :No origin specified
#define | LIBIRC_RFC_ERR_NORECIPIENT 411
| 411 :No recipient given (<command>)
#define | LIBIRC_RFC_ERR_NOTEXTTOSEND 412
| 412 :No text to send
#define | LIBIRC_RFC_ERR_NOTOPLEVEL 413
| 413 <mask> :No toplevel domain specified
#define | LIBIRC_RFC_ERR_WILDTOPLEVEL 414
| 414 <mask> :Wildcard in toplevel domain
#define | LIBIRC_RFC_ERR_BADMASK 415
| 415 <mask> :Bad Server/host mask
#define | LIBIRC_RFC_ERR_UNKNOWNCOMMAND 421
| 421 <command> :Unknown command
#define | LIBIRC_RFC_ERR_NOMOTD 422
| 422 :MOTD File is missing
#define | LIBIRC_RFC_ERR_NOADMININFO 423
| 423 <server> :No administrative info available
#define | LIBIRC_RFC_ERR_FILEERROR 424
| 424 :File error doing <file op> on <file>
#define | LIBIRC_RFC_ERR_NONICKNAMEGIVEN 431
| 431 :No nickname given
#define | LIBIRC_RFC_ERR_ERRONEUSNICKNAME 432
| 432 <nick> :Erroneous nickname
#define | LIBIRC_RFC_ERR_NICKNAMEINUSE 433
| 433 <nick> :Nickname is already in use
#define | LIBIRC_RFC_ERR_NICKCOLLISION 436
| 436 <nick> :Nickname collision KILL from <user>@<host>
#define | LIBIRC_RFC_ERR_UNAVAILRESOURCE 437
| 437 <nick/channel> :Nick/channel is temporarily unavailable
#define | LIBIRC_RFC_ERR_USERNOTINCHANNEL 441
| 441 <nick> <channel> :They aren't on that channel
#define | LIBIRC_RFC_ERR_NOTONCHANNEL 442
| 442 <channel> :You're not on that channel
#define | LIBIRC_RFC_ERR_USERONCHANNEL 443
| 443 <user> <channel> :is already on channel
#define | LIBIRC_RFC_ERR_NOLOGIN 444
| 444 <user> :User not logged in
#define | LIBIRC_RFC_ERR_SUMMONDISABLED 445
| 445 :SUMMON has been disabled
#define | LIBIRC_RFC_ERR_USERSDISABLED 446
| 446 :USERS has been disabled
#define | LIBIRC_RFC_ERR_NOTREGISTERED 451
| 451 :You have not registered
#define | LIBIRC_RFC_ERR_NEEDMOREPARAMS 461
| 461 <command> :Not enough parameters
#define | LIBIRC_RFC_ERR_ALREADYREGISTRED 462
| 462 :Unauthorized command (already registered)
#define | LIBIRC_RFC_ERR_NOPERMFORHOST 463
| 463 :Your host isn't among the privileged
#define | LIBIRC_RFC_ERR_PASSWDMISMATCH 464
| 464 :Password incorrect
#define | LIBIRC_RFC_ERR_YOUREBANNEDCREEP 465
| 465 :You are banned from this server
#define | LIBIRC_RFC_ERR_YOUWILLBEBANNED 466
| 466 :You will be banned from this server
#define | LIBIRC_RFC_ERR_KEYSET 467
| 467 <channel> :Channel key already set
#define | LIBIRC_RFC_ERR_CHANNELISFULL 471
| 471 <channel> :Cannot join channel (+l)
#define | LIBIRC_RFC_ERR_UNKNOWNMODE 472
| 472 <char> :is unknown mode char to me for <channel>
#define | LIBIRC_RFC_ERR_INVITEONLYCHAN 473
| 473 <channel> :Cannot join channel (+i)
#define | LIBIRC_RFC_ERR_BANNEDFROMCHAN 474
| 474 <channel> :Cannot join channel (+b)
#define | LIBIRC_RFC_ERR_BADCHANNELKEY 475
| 475 <channel> :Cannot join channel (+k)
#define | LIBIRC_RFC_ERR_BADCHANMASK 476
| 476 <channel> :Bad Channel Mask
#define | LIBIRC_RFC_ERR_NOCHANMODES 477
| 477 <channel> :Channel doesn't support modes
#define | LIBIRC_RFC_ERR_BANLISTFULL 478
| 478 <channel> <char> :Channel list is full
#define | LIBIRC_RFC_ERR_NOPRIVILEGES 481
| 481 :Permission Denied- You're not an IRC operator
#define | LIBIRC_RFC_ERR_CHANOPRIVSNEEDED 482
| 482 <channel> :You're not channel operator
#define | LIBIRC_RFC_ERR_CANTKILLSERVER 483
| 483 :You can't kill a server!
#define | LIBIRC_RFC_ERR_RESTRICTED 484
| 484 :Your connection is restricted!
#define | LIBIRC_RFC_ERR_UNIQOPPRIVSNEEDED 485
| 485 :You're not the original channel operator
#define | LIBIRC_RFC_ERR_NOOPERHOST 491
| 491 :No O-lines for your host
#define | LIBIRC_RFC_ERR_UMODEUNKNOWNFLAG 501
| 501 :Unknown MODE flag
#define | LIBIRC_RFC_ERR_USERSDONTMATCH 502
| 502 :Cannot change mode for other users

## Detailed Description

This file defines RFC numeric reply codes, which should be used in event_numeric callback. Every code also has a comment regarding its arguments.

Author:
  Georgy Yunaev

Version:
  1.0

Date:
  09.2004