Committer  : klmitch
CVSROOT    : /cvsroot/undernet-ircu
Module     : ircu2.10
Commit time: 2008-03-16 02:14:06 UTC

Modified files:
     ChangeLog ircd/ircd.c

Log message:

Author: Kev <[EMAIL PROTECTED]>
Log message:

Correct one really minor problem with the ERROR messages in pending_exit()

---------------------- diff included ----------------------
Index: ircu2.10/ChangeLog
diff -u ircu2.10/ChangeLog:1.847 ircu2.10/ChangeLog:1.848
--- ircu2.10/ChangeLog:1.847    Sat Mar 15 18:52:57 2008
+++ ircu2.10/ChangeLog  Sat Mar 15 19:13:56 2008
@@ -1,5 +1,7 @@
 2008-03-15  Kevin L. Mitchell  <[EMAIL PROTECTED]>
 
+       * ircd/ircd.c: add a preceding colon in ERROR messages
+
        * doc/example.conf: document 'exempt' port flag
 
        * ircd/send.c: implement sendto_lusers() to send server notices to
Index: ircu2.10/ircd/ircd.c
diff -u ircu2.10/ircd/ircd.c:1.105 ircu2.10/ircd/ircd.c:1.106
--- ircu2.10/ircd/ircd.c:1.105  Sat Mar 15 18:52:58 2008
+++ ircu2.10/ircd/ircd.c        Sat Mar 15 19:13:56 2008
@@ -19,7 +19,7 @@
  */
 /** @file
  * @brief Entry point and other initialization functions for the daemon.
- * @version $Id: ircd.c,v 1.105 2008/03/16 01:52:58 klmitch Exp $
+ * @version $Id: ircd.c,v 1.106 2008/03/16 02:13:56 klmitch Exp $
  */
 #include "config.h"
 
@@ -146,21 +146,21 @@
     if (pe->who) { /* write notice to log */
       log_write(LS_SYSTEM, level, 0, "%s %s server: %s", pe->who, what,
                pe->message);
-      sendcmdto_serv(&me, CMD_ERROR, 0, "%s %s server: %s", pe->who, what,
+      sendcmdto_serv(&me, CMD_ERROR, 0, ":%s %s server: %s", pe->who, what,
                     pe->message);
     } else {
       log_write(LS_SYSTEM, level, 0, "Server %s: %s", what, pe->message);
-      sendcmdto_serv(&me, CMD_ERROR, 0, "Server %s: %s", what, pe->message);
+      sendcmdto_serv(&me, CMD_ERROR, 0, ":Server %s: %s", what, pe->message);
     }
   } else { /* just notify of the restart/termination */
     sendto_lusers("Server %s...", what);
 
     if (pe->who) { /* write notice to log */
       log_write(LS_SYSTEM, level, 0, "%s %s server...", pe->who, what);
-      sendcmdto_serv(&me, CMD_ERROR, 0, "%s %s server...", pe->who, what);
+      sendcmdto_serv(&me, CMD_ERROR, 0, ":%s %s server...", pe->who, what);
     } else {
       log_write(LS_SYSTEM, level, 0, "Server %s...", what);
-      sendcmdto_serv(&me, CMD_ERROR, 0, "Server %s...", what);
+      sendcmdto_serv(&me, CMD_ERROR, 0, ":Server %s...", what);
     }
   }
 
----------------------- End of diff -----------------------
_______________________________________________
Patches mailing list
Patches@undernet.org
http://undernet.sbg.org/mailman/listinfo/patches

Reply via email to