[cvslog] (2002-07-07 22:35:35 UTC) Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Sun Jul 7 17:36:02 CST 2002


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2002-07-07 22:35:35 UTC
Commited by: Jeff Fisher <guppy at techmonkeys.org>

Modified files:
     doc/UPDATES1.6 src/chanprog.c src/patch.h src/mod/dns.mod/dns.c
     src/mod/filesys.mod/filesys.c

Log message:

added a small cosmetic patch

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.368 eggdrop1.6/doc/UPDATES1.6:1.369
--- eggdrop1.6/doc/UPDATES1.6:1.368	Sun Jun 16 22:58:53 2002
+++ eggdrop1.6/doc/UPDATES1.6	Sun Jul  7 17:35:24 2002
@@ -1,10 +1,12 @@
-$Id: UPDATES1.6,v 1.368 2002/06/17 03:58:53 wcc Exp $
+$Id: UPDATES1.6,v 1.369 2002/07/07 22:35:24 guppy Exp $
 
 Changes in Eggdrop: (since v1.6.0)
 ----------------------------------
 
 1.6.11
 Found by  Fixed by  What...
+          guppy     changed the .status output a bit (includes the name of the config file
+                    now)
 guppy     Wcc       msg_whois should require an argument.
           Wcc       added support for halfops (channel mode +h)
 MaSsKilla Wcc       don't allow channels containing commas to be added.. 
Index: eggdrop1.6/src/chanprog.c
diff -u eggdrop1.6/src/chanprog.c:1.29 eggdrop1.6/src/chanprog.c:1.30
--- eggdrop1.6/src/chanprog.c:1.29	Sun Feb  3 23:03:35 2002
+++ eggdrop1.6/src/chanprog.c	Sun Jul  7 17:35:25 2002
@@ -7,7 +7,7 @@
  *   telling the current programmed settings
  *   initializing a lot of stuff and loading the tcl scripts
  *
- * $Id: chanprog.c,v 1.29 2002/02/04 05:03:35 wcc Exp $
+ * $Id: chanprog.c,v 1.30 2002/07/07 22:35:25 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -287,9 +287,7 @@
   dprintf(idx, "I am %s, running %s:  %d user%s (mem: %uk)\n",
 	  botnetnick, ver, i, i == 1 ? "" : "s",
           (int) (expected_memory() / 1024));
-  dprintf(idx, "Running on %s %s\n", uni_t, vers_t);
-  if (admin[0])
-    dprintf(idx, "Admin: %s\n", admin);
+
   now2 = now - online_since;
   s[0] = 0;
   if (now2 > 86400) {
@@ -333,6 +331,12 @@
   dprintf(idx, "%s %s  (%s)  %s  %s %4.1f%%\n", MISC_ONLINEFOR,
 	  s, s1, s2, MISC_CACHEHIT,
 	  100.0 * ((float) cache_hit) / ((float) (cache_hit + cache_miss)));
+
+  if (admin[0])
+    dprintf(idx, "Admin: %s\n", admin);
+
+  dprintf(idx, "Config file: %s\n", configfile);
+  dprintf(idx, "OS: %s %s\n", uni_t, vers_t);
 
   /* info library */
   dprintf(idx, "%s %s\n", MISC_TCLLIBRARY,
Index: eggdrop1.6/src/mod/dns.mod/dns.c
diff -u eggdrop1.6/src/mod/dns.mod/dns.c:1.26 eggdrop1.6/src/mod/dns.mod/dns.c:1.27
--- eggdrop1.6/src/mod/dns.mod/dns.c:1.26	Thu Jun  6 13:52:23 2002
+++ eggdrop1.6/src/mod/dns.mod/dns.c	Sun Jul  7 17:35:25 2002
@@ -4,7 +4,7 @@
  *
  * Written by Fabian Knittel <fknittel at gmx.de>
  *
- * $Id: dns.c,v 1.26 2002/06/06 18:52:23 wcc Exp $
+ * $Id: dns.c,v 1.27 2002/07/07 22:35:25 guppy Exp $
  */
 /*
  * Copyright (C) 1999, 2000, 2001, 2002 Eggheads Development Team
@@ -156,9 +156,10 @@
 
 static int dns_report(int idx, int details)
 {
-  dprintf(idx, "    DNS resolver is active.\n");
-  if (details)
+  if (details) {
     dprintf(idx, "    (cache uses %d bytes of memory)\n", dns_cache_expmem());
+    dprintf(idx, "    DNS resolver is active.\n");
+  }
   return 0;
 }
 
Index: eggdrop1.6/src/mod/filesys.mod/filesys.c
diff -u eggdrop1.6/src/mod/filesys.mod/filesys.c:1.50 eggdrop1.6/src/mod/filesys.mod/filesys.c:1.51
--- eggdrop1.6/src/mod/filesys.mod/filesys.c:1.50	Thu Jun  6 13:52:23 2002
+++ eggdrop1.6/src/mod/filesys.mod/filesys.c	Sun Jul  7 17:35:25 2002
@@ -2,7 +2,7 @@
  * filesys.c -- part of filesys.mod
  *   main file of the filesys eggdrop module
  *
- * $Id: filesys.c,v 1.50 2002/06/06 18:52:23 wcc Exp $
+ * $Id: filesys.c,v 1.51 2002/07/07 22:35:25 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -909,20 +909,22 @@
 
 static void filesys_report(int idx, int details)
 {
-  if (dccdir[0]) {
-    dprintf(idx, "    DCC file path: %s", dccdir);
-    if (upload_to_cd)
-      dprintf(idx, "\n        incoming: (go to the current dir)\n");
-    else if (dccin[0])
-      dprintf(idx, "\n        incoming: %s\n", dccin);
-    else
-      dprintf(idx, "    (no uploads)\n");
-    if (dcc_users)
-      dprintf(idx, "        max users is %d\n", dcc_users);
-    if ((upload_to_cd) || (dccin[0]))
-      dprintf(idx, "    DCC max file size: %dk\n", dcc_maxsize);
-  } else
-    dprintf(idx, "  (Filesystem module loaded, but no active dcc path.)\n");
+  if (details) {
+    if (dccdir[0]) {
+      dprintf(idx, "    DCC file path: %s", dccdir);
+      if (upload_to_cd)
+	dprintf(idx, "\n        incoming: (go to the current dir)\n");
+      else if (dccin[0])
+	dprintf(idx, "\n        incoming: %s\n", dccin);
+      else
+	dprintf(idx, "    (no uploads)\n");
+      if (dcc_users)
+	dprintf(idx, "        max users is %d\n", dcc_users);
+      if ((upload_to_cd) || (dccin[0]))
+	dprintf(idx, "    DCC max file size: %dk\n", dcc_maxsize);
+    } else
+      dprintf(idx, "  (Filesystem module loaded, but no active dcc path.)\n");
+  }
 }
 
 static char *filesys_close()
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.769 eggdrop1.6/src/patch.h:1.770
--- eggdrop1.6/src/patch.h:1.769	Wed Jun 19 16:13:38 2002
+++ eggdrop1.6/src/patch.h	Sun Jul  7 17:35:25 2002
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.769 2002/06/19 21:13:38 wcc Exp $
+ * $Id: patch.h,v 1.770 2002/07/07 22:35:25 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1024520930");		/* current unixtime */
+patch("1026081341");		/* current unixtime */
 /*
  *
  *
  */
-patch("halfop-support7");
+patch("statuscosmetic");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list