]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/messages.h
- Channel-Topics werden nun auch korrekt von anderen Server angenommen.
[ngircd-alex.git] / src / ngircd / messages.h
index 6b4712dc60cce3be095aa3d476917af3a61a86fe..a5ece1fb472270986114c03a1b9709581409fff4 100644 (file)
@@ -9,11 +9,20 @@
  * Naehere Informationen entnehmen Sie bitter der Datei COPYING. Eine Liste
  * der an ngIRCd beteiligten Autoren finden Sie in der Datei AUTHORS.
  *
- * $Id: messages.h,v 1.30 2002/02/17 23:39:24 alex Exp $
+ * $Id: messages.h,v 1.33 2002/02/27 20:33:01 alex Exp $
  *
  * irc.h: IRC-Befehle (Header)
  *
  * $Log: messages.h,v $
+ * Revision 1.33  2002/02/27 20:33:01  alex
+ * - neue Text-Konstante: ERR_NOTONCHANNEL_MSG
+ *
+ * Revision 1.32  2002/02/27 18:23:24  alex
+ * - neue Text-Konstanten RPL_UNAWAY_MSG und RPL_NOWAWAY_MSG.
+ *
+ * Revision 1.31  2002/02/27 17:05:13  alex
+ * - neue Text-Konstante ERR_CANNOTSENDTOCHAN_MSG eingefuehrt.
+ *
  * Revision 1.30  2002/02/17 23:39:24  alex
  * - Konstanten sortiert, neue Konstante RPL_VERSION und RPL_VERSION_MSG.
  *
 #define        RPL_LUSERME_MSG                 RPL_LUSERME" %s :I have %d users, %d services and %d servers"
 
 
+#define RPL_UNAWAY                     "305"
+#define RPL_UNAWAY_MSG                 RPL_UNAWAY" %s :You are no longer marked as being away"
+
+#define RPL_NOWAWAY                    "306"
+#define RPL_NOWAWAY_MSG                        RPL_NOWAWAY" %s :You have been marked as being away"
+
 #define RPL_MOTD                       "372"
 #define RPL_MOTD_MSG                   RPL_MOTD" %s :- %s"
 
 #define RPL_ENDOFMOTD                  "376"
 #define RPL_ENDOFMOTD_MSG              RPL_ENDOFMOTD" %s :End of MOTD command"
 
+#define        RPL_AWAY                        "301"
+#define RPL_AWAY_MSG                   RPL_AWAY" %s %s :%s"
+
 #define RPL_USERHOST                   "302"
 #define RPL_USERHOST_MSG               RPL_USERHOST" %s :"
 
 #define ERR_NOSUCHCHANNEL              "403"
 #define ERR_NOSUCHCHANNEL_MSG          ERR_NOSUCHCHANNEL" %s %s :No such channel"
 
+#define ERR_CANNOTSENDTOCHAN           "404"
+#define ERR_CANNOTSENDTOCHAN_MSG       ERR_CANNOTSENDTOCHAN" %s %s :Cannot send to channel"
+
 #define ERR_NOORIGIN                   "409"
 #define ERR_NOORIGIN_MSG               ERR_NOORIGIN" %s :No origin specified"
 
 #define ERR_NICKNAMEINUSE              "433"
 #define ERR_NICKNAMEINUSE_MSG          ERR_NICKNAMEINUSE" %s %s :Nickname already in use"
 
+#define ERR_NOTONCHANNEL               "442"
+#define ERR_NOTONCHANNEL_MSG           ERR_NOTONCHANNEL" %s %s :You are not on that channel"
+
 #define ERR_NOTREGISTERED              "451"
 #define ERR_NOTREGISTERED_MSG          ERR_NOTREGISTERED" %s :Connection not registered"
 #define ERR_NOTREGISTEREDSERVER_MSG    ERR_NOTREGISTERED" %s :Connection not registered as server link"