]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/messages.h
- RPL_WELCOME an Client_GetID() angepasst.
[ngircd-alex.git] / src / ngircd / messages.h
index eff1af5a5c1540f97e9478cdc8c10d909638951f..76f608ce03431bcae1574be2a00e96d827eaabc4 100644 (file)
@@ -9,11 +9,20 @@
  * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
  * der an comBase beteiligten Autoren finden Sie in der Datei AUTHORS.
  *
- * $Id: messages.h,v 1.4 2001/12/26 03:22:40 alex Exp $
+ * $Id: messages.h,v 1.7 2001/12/27 16:56:06 alex Exp $
  *
  * irc.h: IRC-Befehle (Header)
  *
  * $Log: messages.h,v $
+ * Revision 1.7  2001/12/27 16:56:06  alex
+ * - RPL_WELCOME an Client_GetID() angepasst.
+ *
+ * Revision 1.6  2001/12/26 22:48:53  alex
+ * - MOTD-Datei ist nun konfigurierbar und wird gelesen.
+ *
+ * Revision 1.5  2001/12/26 03:51:13  alex
+ * - in ERR_NOTREGISTERED_MSG fehlte ein "%s" - jetzt steht auch hier der Nick.
+ *
  * Revision 1.4  2001/12/26 03:22:40  alex
  * - Format der Meldungen ueberarbeitet: fast immer ist nun der Nick enthalten.
  *
@@ -36,7 +45,7 @@
 
 
 #define RPL_WELCOME                    "001"
-#define RPL_WELCOME_MSG                        RPL_WELCOME" %s :Welcome to the Internet Relay Network %s!%s@%s"
+#define RPL_WELCOME_MSG                        RPL_WELCOME" %s :Welcome to the Internet Relay Network %s"
 
 #define RPL_YOURHOST                   "002"
 #define RPL_YOURHOST_MSG               RPL_YOURHOST" %s :Your host is %s, running ngircd "VERSION
@@ -63,6 +72,9 @@
 #define ERR_UNKNOWNCOMMAND             "421"
 #define ERR_UNKNOWNCOMMAND_MSG         ERR_UNKNOWNCOMMAND" %s %s :Unknown command"
 
+#define ERR_NOMOTD                     "422"
+#define ERR_NOMOTD_MSG                 ERR_NOMOTD" %s :MOTD file is missing"
+
 #define ERR_ERRONEUSNICKNAME           "432"
 #define ERR_ERRONEUSNICKNAME_MSG       ERR_ERRONEUSNICKNAME" %s %s :Erroneous nickname"
 
@@ -76,7 +88,7 @@
 #define ERR_ALREADYREGISTRED_MSG       ERR_ALREADYREGISTRED" %s :Connection already registered"
 
 #define ERR_NOTREGISTERED              "451"
-#define ERR_NOTREGISTERED_MSG          ERR_NOTREGISTERED" :Connection not registered"
+#define ERR_NOTREGISTERED_MSG          ERR_NOTREGISTERED" %s :Connection not registered"
 
 
 #endif