[cvslog] (2005-01-22 07:22:13 UTC) Module eggdrop1.6: Change committed!

cvslog cvs at tsss.org
Sat Jan 22 01:22:13 CST 2005


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2005-01-22 07:22:13 UTC
Commited by: Will Buckner <wcc at techmonkeys.org>

Modified files:
     doc/UPDATES1.6 src/patch.h src/mod/channels.mod/channels.c

Log message:

- Fix for problems created when loading long user-defined channel setting
  names from the channel file.
* Patch by: Stream

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.599 eggdrop1.6/doc/UPDATES1.6:1.600
--- eggdrop1.6/doc/UPDATES1.6:1.599	Thu Jan 20 15:03:37 2005
+++ eggdrop1.6/doc/UPDATES1.6	Sat Jan 22 01:22:02 2005
@@ -1,4 +1,4 @@
-$Id: UPDATES1.6,v 1.599 2005/01/20 21:03:37 wcc Exp $
+$Id: UPDATES1.6,v 1.600 2005/01/22 07:22:02 wcc Exp $
 
 Eggdrop Changes (since v1.6.0)
     _____________________________________________________________________
@@ -10,7 +10,12 @@
 
     ftp://ftp.eggheads.org/pub/eggdrop/UPDATES/
 
+
   1.6.18:
+    - Fix for problems created when loading long user-defined channel setting
+      names from the channel file.
+    * Patch by: Shrike
+
     - Help file update related to sharing.
     * Patch by: Shawn888, slennox
 
@@ -30,6 +35,7 @@
       version mismatches between the headers and libraries.
     * Patch by: CoderX2
 
+
   1.6.17 (22 August 2004):
     + Final released on August 22nd, 2004.
 
@@ -133,6 +139,7 @@
       coreutils.
     * Patch by: Wcc
 
+
   1.6.16 (31 May 2004):
     + Final released on May 31, 2004.
 
@@ -338,10 +345,12 @@
       less wrapping of description.
     * Patch by: Wcc
 
+
 1.6.15 (04 May 2003)
 Found by  Fixed by  What...
 MORA      Wcc       fixed a patch.h compile error
 
+
 1.6.14 (04 May 2003)
 Found by  Fixed by  What...
           poptix/   added support for the IPv6 protocol
@@ -443,6 +452,7 @@
           Wcc       .say and .act now allow you to send a message to a moderated
                     channel when the bot has halfop status
 
+
 1.6.13 (22 November 2002)
 Found by  Fixed by  What...
           BarkerJr  doc/MODULES updates
@@ -496,10 +506,12 @@
           Wcc       made [ban/invite/exempt]-time a channel int
           BarkerJr  documentation updates related to the PUBM bind
 
+
 1.6.12 (26 July 2002)
 Found by  Fixed by  What...
 Segfault            reverted the sockfix patches from 1.6.11
 
+
 1.6.11 (26 July 2002)
 Found by  Fixed by  What...
 various   Wcc       need-[limit/invite/unban/key] work now
@@ -540,6 +552,7 @@
           upstream  fixed a crash in seen.mod with long channel names
           slug      added support for the +C channel mode (noctcp) on QuakeNet's ircu
 
+
 1.6.10 (29 March 2002)
 Found by  Fixed by  What...
 (^Baron^) Eule      protect(ops|friends) works with +bitch now
@@ -556,6 +569,7 @@
 MC_8      Wcc       added some missing command options to tcl-commands.doc
           Uwe       cd_cmd_table was missing a null entry at the end of the list
 
+
 1.6.9 (10 March 2002)
 Found by  Fixed by  What...
           BarkerJr/ "Detected loop: two bots exist named bot2: disconnecting
@@ -634,6 +648,7 @@
 |^Raven^| stdarg/   hand2nick, nick2hand, handonchan, and chanlist might not always return
           guppy     that a user is known even if we know they are -- this has been fixed
 
+
 1.6.8 (2 January 2002)
 Found by  Fixed by  What...
 PPSlim    guppy     removed a legacy tcl hack that probably no one but old eggdrop users
@@ -706,6 +721,7 @@
 various   stdarg    small fix to the notes module
           BarkerJr  updated the uptime url
 
+
 1.6.7 (7 December 2001)
 Found by  Fixed by  What...
           guppy     don't show status_log if we don't have a server
@@ -811,6 +827,7 @@
 Abraham   Noyga     the channel file is now backed up
 various   strolchi  small fix for binds and unicode characters
 
+
 1.6.6 (20 July 2001)
 Found by  Fixed by  What...
           Paladin   a few minor doc updates
@@ -821,6 +838,7 @@
           LethalWP  fixed a small getops bug
           ITE       .conf cleanups, added TCL threaded info in DEBUG
 
+
 1.6.5 (10 July 2001)
 Found by  Fixed by  What...
 TaKeDa    Fabian    Fixed 'make config' for some disabled_modules cases.
@@ -907,6 +925,7 @@
           Eugene    fixed various formatting mistakes
           SuperS    made the IRIX5,6 and 6-64bit OS detection into one check
 
+
 1.6.4 (13 April 2001)
 Found by  Fixed by  What...
           Sup       Minor fixes to write_debug() function.
@@ -940,6 +959,7 @@
 KingBob   Tothwolf/ Fixed rest of the problems with utf8 characters.
           Wingman
 
+
 1.6.3 (27 February 2001)
 Found by  Fixed by  What...
           guppy     made blowfish.mod a bit more friendly with other
@@ -969,6 +989,7 @@
 GregMo    guppy     fixed cmd_binds when called with no argument
           guppy     cleaned up Context and Assert usage in the modules
 
+
 1.6.2 (January 14, 2001)
 Found by  Fixed by  What...
 S Wilcox  Sup       Fixed a minor typo in got432().
@@ -1005,6 +1026,7 @@
           ITE/      added '--disable-tcl-threads' to configure
           Tothwolf
 
+
 1.6.1 (November 22, 2000)
 Found by  Fixed by  What...
           Wiktor    updated KNOWN-PROBLEMS
@@ -1025,6 +1047,7 @@
 paran0id  Fabian    Fixed crash in expired_mask() when checking ops not
                     present in the user-list.
 
+
 1.6.0 (November 15, 2000)
 Found by  Fixed by  What...
 Paladin   guppy     MISC_NOUSERFILE includes the actual config filename now
Index: eggdrop1.6/src/mod/channels.mod/channels.c
diff -u eggdrop1.6/src/mod/channels.mod/channels.c:1.90 eggdrop1.6/src/mod/channels.mod/channels.c:1.91
--- eggdrop1.6/src/mod/channels.mod/channels.c:1.90	Mon Jan  3 14:01:45 2005
+++ eggdrop1.6/src/mod/channels.mod/channels.c	Sat Jan 22 01:22:03 2005
@@ -2,7 +2,7 @@
  * channels.c -- part of channels.mod
  *   support for channels within the bot
  *
- * $Id: channels.c,v 1.90 2005/01/03 20:01:45 paladin Exp $
+ * $Id: channels.c,v 1.91 2005/01/22 07:22:03 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -452,13 +452,14 @@
             PLSMNS(channel_dynamicinvites(chan)),
             PLSMNS(!channel_nouserinvites(chan)),
             PLSMNS(channel_nodesynch(chan)));
+    fprintf(f, "%s\n", channel_static(chan) ? "" : "}");
     for (ul = udef; ul; ul = ul->next) {
       if (ul->defined && ul->name) {
         if (ul->type == UDEF_FLAG)
-          fprintf(f, "%c%s%s ", getudef(ul->values, chan->dname) ? '+' : '-',
+          fprintf(f, "channel set %s %c%s%s\n", name, getudef(ul->values, chan->dname) ? '+' : '-',
                   "udef-flag-", ul->name);
         else if (ul->type == UDEF_INT)
-          fprintf(f, "%s%s %d ", "udef-int-", ul->name, getudef(ul->values,
+          fprintf(f, "channel set %s %s%s %d\n", name, "udef-int-", ul->name, getudef(ul->values,
                   chan->dname));
         else if (ul->type == UDEF_STR) {
           char *p = (char *) getudef(ul->values, chan->dname);
@@ -466,12 +467,11 @@
           if (!p)
             p = "{}";
 
-          fprintf(f, "udef-str-%s %s ", ul->name, p);
+          fprintf(f, "channel set %s udef-str-%s %s\n", name, ul->name, p);
         } else
           debug1("UDEF-ERROR: unknown type %d", ul->type);
       }
     }
-    fprintf(f, "%s\n", channel_static(chan) ? "" : "}");
     if (fflush(f)) {
       putlog(LOG_MISC, "*", "ERROR writing channel file.");
       fclose(f);
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.1142 eggdrop1.6/src/patch.h:1.1143
--- eggdrop1.6/src/patch.h:1.1142	Thu Jan 20 15:03:37 2005
+++ eggdrop1.6/src/patch.h	Sat Jan 22 01:22:03 2005
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.1142 2005/01/20 21:03:37 wcc Exp $
+ * $Id: patch.h,v 1.1143 2005/01/22 07:22:03 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1106254901");            /* current unixtime */
+patch("1106378338");            /* current unixtime */
 /*
  *
  *
  */
-patch("sharehelp");
+patch("long-udef");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list