[cvslog] (2003-11-27 06:15:16 UTC) Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Thu Nov 27 00:15:16 CST 2003


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2003-11-27 06:15:16 UTC
Commited by: Will Buckner <wcc at techmonkeys.org>

Modified files:
     src/patch.h src/mod/irc.mod/irc.c src/mod/irc.mod/msgcmds.c

Log message:

* Fixes from last commit.

---------------------- diff included ----------------------
Index: eggdrop1.6/src/mod/irc.mod/irc.c
diff -u eggdrop1.6/src/mod/irc.mod/irc.c:1.95 eggdrop1.6/src/mod/irc.mod/irc.c:1.96
--- eggdrop1.6/src/mod/irc.mod/irc.c:1.95	Wed Nov 26 23:45:06 2003
+++ eggdrop1.6/src/mod/irc.mod/irc.c	Thu Nov 27 00:15:06 2003
@@ -2,7 +2,7 @@
  * irc.c -- part of irc.mod
  *   support for channels within the bot
  *
- * $Id: irc.c,v 1.95 2003/11/27 05:45:06 wcc Exp $
+ * $Id: irc.c,v 1.96 2003/11/27 06:15:06 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -926,7 +926,7 @@
 static void irc_report(int idx, int details)
 {
   struct flag_record fr = { FR_GLOBAL | FR_CHAN, 0, 0, 0, 0, 0 };
-  char ch[1024], q[160], *p;
+  char ch[1024], q[256], *p;
   int k, l;
   struct chanset_t *chan;
 
@@ -951,7 +951,7 @@
                          p ? p : "", p ? ")" : "");
       if ((k + l) > 70) {
         dprintf(idx, "    %s\n", q);
-        strcpy(q, "            ");
+        strcpy(q, "          ");
         k = 10;
       }
       k += my_strcpy(q + k, ch);
@@ -959,7 +959,7 @@
   }
   if (k > 10) {
     q[k - 2] = 0;
-    dprintf(idx, "   %s\n", q);
+    dprintf(idx, "    %s\n", q);
   }
 }
 
Index: eggdrop1.6/src/mod/irc.mod/msgcmds.c
diff -u eggdrop1.6/src/mod/irc.mod/msgcmds.c:1.46 eggdrop1.6/src/mod/irc.mod/msgcmds.c:1.47
--- eggdrop1.6/src/mod/irc.mod/msgcmds.c:1.46	Wed Nov 26 23:48:12 2003
+++ eggdrop1.6/src/mod/irc.mod/msgcmds.c	Thu Nov 27 00:15:06 2003
@@ -2,7 +2,7 @@
  * msgcmds.c -- part of irc.mod
  *   all commands entered via /MSG
  *
- * $Id: msgcmds.c,v 1.46 2003/11/27 05:48:12 wcc Exp $
+ * $Id: msgcmds.c,v 1.47 2003/11/27 06:15:06 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -864,6 +864,7 @@
     if (strlen(s) > 140) {
       s[strlen(s) - 2] = 0; /* remove ', ' */
       dprintf(DP_HELP, "NOTICE %s :%s\n", nick, s);
+      s[0] = 0;
     }
   }
   if (strlen(s) > 10) {
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.1017 eggdrop1.6/src/patch.h:1.1018
--- eggdrop1.6/src/patch.h:1.1017	Wed Nov 26 23:45:06 2003
+++ eggdrop1.6/src/patch.h	Thu Nov 27 00:15:06 2003
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.1017 2003/11/27 05:45:06 wcc Exp $
+ * $Id: patch.h,v 1.1018 2003/11/27 06:15:06 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1069911897");            /* current unixtime */
+patch("1069913700");            /* current unixtime */
 /*
  *
  *
  */
-patch("status-cosmetic3");
+patch("status-cosmetic4");
 /*
  *
  *
----------------------- End of diff -----------------------


More information about the Changes mailing list