]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - include/numerics.h
Finish channels.cpp conversion to numerics list
[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_TOPIC                                               =       332,
30         RPL_TOPICTIME                                   =       333,
31         RPL_NAMREPLY                                    =       353,
32         RPL_ENDOFNAMES                                  =       366,
33
34
35         /*
36          * Error range of numerics.
37          */
38         ERR_NOSUCHNICK                                  =       401,
39         ERR_TOOMANYCHANNELS                             =       405,
40         ERR_USERNOTINCHANNEL                    =       441,
41         ERR_BADCHANNELKEY                               =       475,
42         ERR_INVITEONLYCHAN                              =       473,
43         ERR_CHANNELISFULL                               =       471,
44         ERR_BANNEDFROMCHAN                              =       474,
45         ERR_CHANOPRIVSNEEDED                    =       482
46 };