[cvslog] Module eggdrop1.6: Change committed

cvslog cvs at tsss.iavalley.cc.ia.us
Wed Jan 17 17:33:00 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2001-01-17 23:32:54 UTC

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

Log message:

oops I did it again .. Britney Spears, <g>, this fixes .binds

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.45 eggdrop1.6/doc/UPDATES1.6:1.46
--- eggdrop1.6/doc/UPDATES1.6:1.45	Tue Jan 16 11:13:20 2001
+++ eggdrop1.6/doc/UPDATES1.6	Wed Jan 17 17:32:43 2001
@@ -4,6 +4,7 @@
 
 1.6.3
 Found by  Fixed by  What...
+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)
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.411 eggdrop1.6/src/patch.h:1.412
--- eggdrop1.6/src/patch.h:1.411	Tue Jan 16 11:13:20 2001
+++ eggdrop1.6/src/patch.h	Wed Jan 17 17:32:44 2001
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  * 
- * $Id: patch.h,v 1.411 2001/01/16 17:13:20 guppy Exp $
+ * $Id: patch.h,v 1.412 2001/01/17 23:32:44 guppy Exp $
  */
 /* 
  * Copyright (C) 1997  Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("979664567");		/* current unixtime */
+patch("979773926");		/* current unixtime */
 /*
  *
  *
  */
-patch("modcontext");
+patch("tell_binds");
 /*
  *
  *
Index: eggdrop1.6/src/tclhash.c
diff -u eggdrop1.6/src/tclhash.c:1.21 eggdrop1.6/src/tclhash.c:1.22
--- eggdrop1.6/src/tclhash.c:1.21	Sun Jan  7 21:30:57 2001
+++ eggdrop1.6/src/tclhash.c	Wed Jan 17 17:32:44 2001
@@ -7,7 +7,7 @@
  *   (non-Tcl) procedure lookups for msg/dcc/file commands
  *   (Tcl) binding internal procedures to msg/dcc/file commands
  * 
- * $Id: tclhash.c,v 1.21 2001/01/08 03:30:57 guppy Exp $
+ * $Id: tclhash.c,v 1.22 2001/01/17 23:32:44 guppy Exp $
  */
 /* 
  * Copyright (C) 1997  Robey Pointer
@@ -1080,13 +1080,12 @@
     tl_kind = find_bind_table(name);
   else
     tl_kind = NULL;
-  if ((s && !egg_strcasecmp(s, "all")) || !egg_strcasecmp(name, "all"))
-    showall = 1;
 
-  if (tl_kind == NULL && name && name[0] && egg_strcasecmp(name, "all")) {
+  if ((name && name[0] &&!egg_strcasecmp(name, "all")) || (s && s[0] && !egg_strcasecmp(s, "all")))
+    showall = 1;
+  if (tl_kind == NULL && name && name[0] && egg_strcasecmp(name, "all"))
     patmatc = 1;
-    dprintf(idx, "Bind type %s not found, using wild card match.\n", name);
-  }
+
   dprintf(idx, MISC_CMDBINDS);
   dprintf(idx, "  TYPE FLGS     COMMAND              HITS BINDING (TCL)\n");
 
@@ -1102,7 +1101,7 @@
 	  continue;
 	proc = tc->func_name;
 	build_flags(flg, &(tc->flags), NULL);
-	if (showall || proc[0] != '*' || !strchr(proc, ':')) {
+	if (showall || (proc[0] != '*' && !strchr(proc, ':'))) {
 	  int	ok = 0;
 
           if (patmatc == 1) {
----------------------- End of diff -----------------------



More information about the Changes mailing list