]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - include/numerics.h
446966bbb515189e7c6fc01abc1e6ffa47224ab6
[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_TOPIC                                               =       332,
37         RPL_TOPICTIME                                   =       333,
38         RPL_NAMREPLY                                    =       353,
39         RPL_ENDOFNAMES                                  =       366,
40
41
42         /*
43          * Error range of numerics.
44          */
45         ERR_NOSUCHNICK                                  =       401,
46         ERR_TOOMANYCHANNELS                             =       405,
47         ERR_USERNOTINCHANNEL                    =       441,
48         ERR_BADCHANNELKEY                               =       475,
49         ERR_INVITEONLYCHAN                              =       473,
50         ERR_CHANNELISFULL                               =       471,
51         ERR_BANNEDFROMCHAN                              =       474,
52         ERR_CHANOPRIVSNEEDED                    =       482,
53
54         ERR_UNKNOWNSNOMASK                              =       501
55 };