[cvslog] Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Mon Oct 29 21:02:01 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2001-10-30 03:01:13 UTC
Commited by: Jeff Fisher <guppy at techmonkeys.org>

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

Log message:

fixed a small bug that would make eggdrop think it was connected to an ircu server eventhough it was really throttled ... thanks to a bug in ircu :P

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.198 eggdrop1.6/doc/UPDATES1.6:1.199
--- eggdrop1.6/doc/UPDATES1.6:1.198	Mon Oct 29 14:20:31 2001
+++ eggdrop1.6/doc/UPDATES1.6	Mon Oct 29 21:01:01 2001
@@ -1,10 +1,11 @@
-$Id: UPDATES1.6,v 1.198 2001/10/29 20:20:31 guppy Exp $
+$Id: UPDATES1.6,v 1.199 2001/10/30 03:01:01 guppy Exp $
 
 Changes in eggdrop: (since v1.6.0)
 ----------------------------------
 
 1.6.7
 Found by  Fixed by  What...
+zip       guppy     small fix for ircu servers that send ERROR: instead of ERROR :
           fuchs     don't get GO if the channel is -cycle
           guppy     couple of small uptime.mod backports from 1.7
 DrDeath   Sup       Exported module_load and module_unload for modules.
Index: eggdrop1.6/src/mod/server.mod/servmsg.c
diff -u eggdrop1.6/src/mod/server.mod/servmsg.c:1.60 eggdrop1.6/src/mod/server.mod/servmsg.c:1.61
--- eggdrop1.6/src/mod/server.mod/servmsg.c:1.60	Sun Oct 14 10:06:34 2001
+++ eggdrop1.6/src/mod/server.mod/servmsg.c	Mon Oct 29 21:01:02 2001
@@ -1,7 +1,7 @@
 /*
  * servmsg.c -- part of server.mod
  *
- * $Id: servmsg.c,v 1.60 2001/10/14 15:06:34 tothwolf Exp $
+ * $Id: servmsg.c,v 1.61 2001/10/30 03:01:02 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -883,7 +883,11 @@
  */
 static int goterror(char *from, char *msg)
 {
-  fixcolon(msg);
+ /* FIXME: fixcolon doesn't do what we need here, this is a temp fix
+  * fixcolon(msg);
+  */
+  if (msg[0] == ':')
+    msg++;       
   putlog(LOG_SERV | LOG_MSGS, "*", "-ERROR from server- %s", msg);
   if (serverror_quit) {
     putlog(LOG_SERV, "*", "Disconnecting from server.");
@@ -1148,6 +1152,8 @@
   {"442",	"",	(Function) got442,		NULL},
   {"NICK",	"",	(Function) gotnick,		NULL},
   {"ERROR",	"",	(Function) goterror,		NULL},
+/* ircu2.10.10 has a bug when a client is throttled ERROR is sent wrong */
+  {"ERROR:",	"",	(Function) goterror,		NULL},
   {"KICK",	"",	(Function) gotkick,		NULL},
   {"318",	"",	(Function) whoispenalty,	NULL},
   {"311", 	"", 	(Function) got311, 		NULL},
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.569 eggdrop1.6/src/patch.h:1.570
--- eggdrop1.6/src/patch.h:1.569	Mon Oct 29 14:20:31 2001
+++ eggdrop1.6/src/patch.h	Mon Oct 29 21:01:02 2001
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.569 2001/10/29 20:20:31 guppy Exp $
+ * $Id: patch.h,v 1.570 2001/10/30 03:01:02 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1004386482");		/* current unixtime */
+patch("1004410758");		/* current unixtime */
 /*
  *
  *
  */
-patch("cyclefix");
+patch("errorfix");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list