]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/messages.h
- include <sys/types.h>, if available.
[ngircd-alex.git] / src / ngircd / messages.h
index d3cfd805609c63f91ef2e83f5a65595ff2e06dfd..cea38120b0b56ba8bc6f7f946fd87589b1652a75 100644 (file)
@@ -8,7 +8,7 @@
  * (at your option) any later version.
  * Please read the file COPYING, README and AUTHORS for more information.
  *
- * $Id: messages.h,v 1.57 2002/12/13 17:51:41 alex Exp $
+ * $Id: messages.h,v 1.60 2002/12/22 23:32:05 alex Exp $
  *
  * IRC numerics (Header)
  */
@@ -22,8 +22,9 @@
 #define RPL_YOURHOST_MSG               "002 %s :Your host is %s, running version ngircd-%s (%s/%s/%s)"
 #define RPL_CREATED_MSG                        "003 %s :This server has been started %s"
 #define RPL_MYINFO_MSG                 "004 %s %s ngircd-%s %s %s"
+#define RPL_FEATURE_MSG                        "005 %s NICKLEN=%d TOPICLEN=%d AWAYLEN=%d MAXCHANNELS=%d :are supported on this server"
 #define RPL_STATSLINKINFO_MSG          "211 %s %s %d %ld %ld %ld %ld :%ld"
-#define RPL_STATSCOMMANDS_MSG          "212 %s %s %d %d %d"
+#define RPL_STATSCOMMANDS_MSG          "212 %s %s %ld %ld %ld"
 #define RPL_ENDOFSTATS_MSG             "219 %s %c :End of STATS report"
 #define RPL_UMODEIS_MSG                        "221 %s +%s"
 #define RPL_LUSERCLIENT_MSG            "251 %s :There are %ld users and %ld services on %ld servers"
@@ -35,6 +36,8 @@
 #define RPL_ADMINLOC1_MSG              "257 %s :%s"
 #define RPL_ADMINLOC2_MSG              "258 %s :%s"
 #define RPL_ADMINEMAIL_MSG             "259 %s :%s"
+#define RPL_LOCALUSERS_MSG             "265 %s :Current local users: %ld, Max: %ld"
+#define RPL_NETUSERS_MSG               "266 %s :Current global users: %ld, Max: %ld"
 
 #define RPL_AWAY_MSG                   "301 %s %s :%s"
 #define RPL_USERHOST_MSG               "302 %s :"
@@ -70,6 +73,7 @@
 #define RPL_MOTDSTART_MSG              "375 %s :- %s message of the day"
 #define RPL_ENDOFMOTD_MSG              "376 %s :End of MOTD command"
 #define RPL_YOUREOPER_MSG              "381 %s :You are now an IRC Operator"
+#define RPL_YOURESERVICE_MSG           "383 %s :You are service %s"
 #define RPL_TIME_MSG                   "391 %s %s :%s"
 
 #define ERR_NOSUCHNICK_MSG             "401 %s %s :No such nick or channel name"
 #define ERR_NOTREGISTEREDSERVER_MSG    "451 %s :Connection not registered as server link"
 #define ERR_NEEDMOREPARAMS_MSG         "461 %s %s :Syntax error"
 #define ERR_ALREADYREGISTRED_MSG       "462 %s :Connection already registered"
-#define ERR_PASSWDMISMATCH_MSG         "464 %s: Invalid password"
+#define ERR_PASSWDMISMATCH_MSG         "464 %s :Invalid password"
+#define ERR_CHANNELISFULL_MSG          "471 %s %s :Cannot join channel (+l)"
 #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 ERR_BADCHANNELKEY_MSG          "475 %s %s :Cannot join channel (+k)"
 #define ERR_NOPRIVILEGES_MSG           "481 %s :Permission denied"
 #define ERR_CHANOPRIVSNEEDED_MSG       "482 %s %s :You are not channel operator"
 #define ERR_RESTRICTED_MSG             "484 %s :Your connection is restricted"