[cvslog] Module eggdrop1.6: Change committed

cvslog cvs at tsss.iavalley.cc.ia.us
Fri May 25 06:07:00 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2001-05-25 11:06:15 UTC
Commited by: poptix

Modified files:
     src/mod/filesys.mod/tclfiles.c src/mod/server.mod/servmsg.c

Log message:

It's been 3 days, guppy said wait 2, no bad comments on these two patches.

---------------------- diff included ----------------------
Index: eggdrop1.6/src/mod/filesys.mod/tclfiles.c
diff -u eggdrop1.6/src/mod/filesys.mod/tclfiles.c:1.12 eggdrop1.6/src/mod/filesys.mod/tclfiles.c:1.13
--- eggdrop1.6/src/mod/filesys.mod/tclfiles.c:1.12	Wed Apr 11 21:39:46 2001
+++ eggdrop1.6/src/mod/filesys.mod/tclfiles.c	Fri May 25 06:06:04 2001
@@ -2,7 +2,7 @@
  * tclfiles.c -- part of filesys.mod
  *   Tcl stubs for file system commands moved here to support modules
  *
- * $Id: tclfiles.c,v 1.12 2001/04/12 02:39:46 guppy Exp $
+ * $Id: tclfiles.c,v 1.13 2001/05/25 11:06:04 poptix Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -282,7 +282,7 @@
   char *s = NULL, *t, *d, *p;
   struct flag_record fr = {FR_GLOBAL | FR_CHAN, 0, 0, 0, 0, 0};
 
-  BADARGS(2, 3, " dir ?required-flags ?channel??");
+  BADARGS(2, 4, " dir ?required-flags ?channel??");
   malloc_strcpy(s, argv[1]);
   if (s[strlen(s) - 1] == '/')
      s[strlen(s) - 1] = 0;
Index: eggdrop1.6/src/mod/server.mod/servmsg.c
diff -u eggdrop1.6/src/mod/server.mod/servmsg.c:1.53 eggdrop1.6/src/mod/server.mod/servmsg.c:1.54
--- eggdrop1.6/src/mod/server.mod/servmsg.c:1.53	Fri May 18 17:35:04 2001
+++ eggdrop1.6/src/mod/server.mod/servmsg.c	Fri May 25 06:06:04 2001
@@ -1,7 +1,7 @@
 /*
  * servmsg.c -- part of server.mod
  *
- * $Id: servmsg.c,v 1.53 2001/05/18 22:35:04 guppy Exp $
+ * $Id: servmsg.c,v 1.54 2001/05/25 11:06:04 poptix Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -1166,7 +1166,14 @@
     pass[0] = 0;
   if (!cycle_time) {
     struct chanset_t *chan;
+    struct server_list *x = serverlist;
 
+    if (!x) {
+      putlog(LOG_SERV, "*", "No servers in server list");
+      cycle_time = 300;
+      return;
+    }
+ 
     servidx = new_dcc(&DCC_DNSWAIT, sizeof(struct dns_info));
     if (servidx < 0) {
       putlog(LOG_SERV, "*",
----------------------- End of diff -----------------------



More information about the Changes mailing list