]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/messages.h
Class_GetList() now retuns a pointer to list_head structure
[ngircd-alex.git] / src / ngircd / messages.h
index 07df4e45b0d16b84e2abb23b184a2f0971a49625..7bf7367e56ea03a671c55ba4a5c3382f3c975233 100644 (file)
@@ -9,7 +9,6 @@
  * Please read the file COPYING, README and AUTHORS for more information.
  */
 
-
 #ifndef __messages_h__
 #define __messages_h__
 
@@ -30,6 +29,7 @@
 #define RPL_TRACESERVER_MSG            "206 %s Serv 1 0S 0C %s[%s@%s] *!*@%s :V%s"
 #define RPL_STATSLINKINFO_MSG          "211 %s %s %d %ld %ld %ld %ld :%ld"
 #define RPL_STATSCOMMANDS_MSG          "212 %s %s %ld %ld %ld"
+#define RPL_STATSXLINE_MSG             "216 %s %c %s %ld :%s"
 #define RPL_ENDOFSTATS_MSG             "219 %s %c :End of STATS report"
 #define RPL_UMODEIS_MSG                        "221 %s +%s"
 #define RPL_SERVLIST_MSG               "234 %s %s %s %s %d %d :%s"
 #define ERR_NOMOTD_MSG                 "422 %s :MOTD file is missing"
 #define ERR_NONICKNAMEGIVEN_MSG                "431 %s :No nickname given"
 #define ERR_ERRONEUSNICKNAME_MSG       "432 %s %s :Erroneous nickname"
+#define ERR_NICKNAMETOOLONG_MSG                "432 %s %s :Nickname too long, max. %u characters"
 #define ERR_NICKNAMEINUSE_MSG          "433 %s %s :Nickname already in use"
 #define ERR_USERNOTINCHANNEL_MSG       "441 %s %s %s :They aren't on that channel"
 #define ERR_NOTONCHANNEL_MSG           "442 %s %s :You are not on that channel"
 #define ERR_CHANNELISFULL_MSG          "471 %s %s :Cannot join channel (+l)"
 #define ERR_SECURECHANNEL_MSG          "471 %s %s :Cannot join channel (+z)"
 #define ERR_OPONLYCHANNEL_MSG          "471 %s %s :Cannot join channel (+O)"
+#define ERR_REGONLYCHANNEL_MSG         "471 %s %s :Cannot join channel (+R)"
 #define ERR_UNKNOWNMODE_MSG            "472 %s: %c :is unknown mode char for %s"
 #define ERR_INVITEONLYCHAN_MSG         "473 %s %s :Cannot join channel (+i)"
 #define ERR_BANNEDFROMCHAN_MSG         "474 %s %s :Cannot join channel (+b)"
 #define RPL_STATSLINKINFOZIP_MSG       "211 %s %s %d %ld %ld/%ld %ld %ld/%ld :%ld"
 #endif
 
-
 #endif
 
-
 /* -eof- */