1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
/* +------------------------------------+
* | Inspire Internet Relay Chat Daemon |
* +------------------------------------+
*
* InspIRCd: (C) 2002-2008 InspIRCd Development Team
* See: http://www.inspircd.org/wiki/index.php/Credits
*
* This program is free but copyrighted software; see
* the file COPYING for details.
*
* ---------------------------------------------------
*/
/*
* This file is aimed providing a string that is easier to use than using the numeric
* directly.
*
* Thanks to Darom, jackmcbarn and Brain for suggesting and discussing this.
*
* Please note that the list may not be exhaustive, it'll be done when I have
* nothing better to do with my time. -- w00t (jul 13, 2008)
*/
enum Numerics
{
/*
* Reply range of numerics.
*/
RPL_WELCOME = 001,
RPL_YOURHOSTIS = 002,
RPL_SERVERCREATED = 003,
RPL_SERVERVERSION = 004,
RPL_YOURUUID = 042, // taken from ircnet
RPL_RULES = 232,
RPL_RULESTART = 308,
RPL_RULESEND = 309,
RPL_TOPIC = 332,
RPL_TOPICTIME = 333,
RPL_NAMREPLY = 353,
RPL_ENDOFNAMES = 366,
RPL_MOTD = 372,
RPL_MOTDSTART = 375,
RPL_ENDOFMOTD = 376,
RPL_YOURDISPLAYEDHOST = 396, // from charybdis/etc, common convention
/*
* Error range of numerics.
*/
ERR_NOSUCHNICK = 401,
ERR_TOOMANYCHANNELS = 405,
ERR_NOMOTD = 422,
ERR_NORULES = 434,
ERR_USERNOTINCHANNEL = 441,
ERR_BADCHANNELKEY = 475,
ERR_INVITEONLYCHAN = 473,
ERR_CHANNELISFULL = 471,
ERR_BANNEDFROMCHAN = 474,
ERR_CHANOPRIVSNEEDED = 482,
ERR_UNKNOWNSNOMASK = 501
};
|