]> jfr.im git - irc/quakenet/newserv.git/blobdiff - chanserv/chanserv_messages.h
A4STATS: remove E style escapes and switch to createtable for indices
[irc/quakenet/newserv.git] / chanserv / chanserv_messages.h
index a562f909fef5acf1ebd4c05b01a8fce32fb009d8..56f75d0ba2a8fbeaf651dc90591a10308f463a05 100644 (file)
 #define EndMessages() csrawmessages; extern char *defaultmessages[MAXMESSAGES*2];
 #endif
 
+/************************ DANGER WILL ROBINSON!!! **************************/
+/* if you want to add a new message you must add it at the end.            */
+/* also don't remove any, as these messages end up as ids in the database! */
+/************************ DANGER WILL ROBINSON!!! **************************/
+
 BeginMessages() {
   msg(QM_PROTECTED, "Channel $0 is protected by $1.", "ss"),
   msg(QM_UNKNOWNCMD, "Unknown command $0. Type SHOWCOMMANDS for a list of available commands.", "s"),
@@ -56,7 +61,6 @@ BeginMessages() {
   msg(QM_NOCHANBANAUTOREMOVE, "Bans on $0 will not be automatically removed.", "s"),
   msg(QM_INVALIDCHANNAME, "$0 is not a valid channel name.", "s"),
   msg(QM_ALREADYREGISTERED, "$0 is already registered.", "s"),
-  msg(QM_TOOMANYCHANNELS, "User is known on too many channels.", ""),
   msg(QM_CURUSERFLAGS, "User flags for $0: $1", "ss"),
   msg(QM_WELCOMEMESSAGEIS, "Welcome message for $0: $1", "ss"),
   msg(QM_GLOBALINFO, "Default info line: $0", "s"),
@@ -149,7 +153,7 @@ BeginMessages() {
   msg(QM_TOOMANYRESULTS, "Found over $0 $1, truncating list.", "ds"),
   msg(QM_RESULTCOUNT, "Found $0 $1$2.", "uss"),
   msg(QM_SUSPENDKILL, "Attention: Your Q account has been suspended. You are being disconnected.", ""),
-  msg(QM_LISTFLAGSHEADER, "Username:       Flags:            Suspended: Email:                         Last user@host:", ""),
+  msg(QM_LISTFLAGSHEADER, "Username:       Id:        Flags:            Email:                         Last email change:", ""),
   msg(QM_SUSPENDUSERLISTHEADER, "Username:       Suspend type: Suspended by:   Date suspended:     Expires:        Reason:", ""), /* @TIMELEN */
   msg(QM_SUSPENDCHANLISTHEADER, "Channel:                       Suspended by:   Date suspended:     Reason:", ""), /* @TIMELEN */
   msg(QM_NOREQUESTOWNER, "You cannot request ownership of $0 as there is a channel $1 present.", "ss"),
@@ -244,6 +248,9 @@ BeginMessages() {
   msg(QM_TITLETOOFAST,"You have already changed your title recently.  Please wait a while and try again.",""),
   msg(QM_INACTIVEACCOUNT,"This account has not yet been activated.",""),
   msg(QM_PWTOLONG, "Sorry, but new password is too long (maximum length 10 chars)", ""),
+  msg(QM_TOOMANYCHANNELS, "User is known on too many channels.", ""),
+  msg(QM_PWINVALID, "Password contains invalid characters.", ""),
+  msg(QM_TOOMANYAUTHATTEMPTS, "Too many auth attempts -- reconnect to QuakeNet to try again.", ""),
 } 
 EndMessages()
 #endif