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