[cvslog] Module eggdrop1.7: Change committed

cvslog cvs at tsss.org
Fri Dec 28 12:38:01 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.7
Commit time: 2001-12-28 18:37:24 UTC
Commited by: Jeff Fisher <guppy at techmonkeys.org>

Modified files:
     doc/UPDATES1.6 modules/server/cmdsserv.c src/patch.h

Log message:

added my cmd_servers patch from 1.6

---------------------- diff included ----------------------
Index: eggdrop1.7/doc/UPDATES1.6
diff -u eggdrop1.7/doc/UPDATES1.6:1.178 eggdrop1.7/doc/UPDATES1.6:1.179
--- eggdrop1.7/doc/UPDATES1.6:1.178	Fri Dec 28 12:31:38 2001
+++ eggdrop1.7/doc/UPDATES1.6	Fri Dec 28 12:37:13 2001
@@ -1,10 +1,11 @@
-$Id: UPDATES1.6,v 1.178 2001/12/28 18:31:38 guppy Exp $
+$Id: UPDATES1.6,v 1.179 2001/12/28 18:37:13 guppy Exp $
 
 Changes in eggdrop: (since v1.6.0)
 ----------------------------------
 
 1.6.8
 Found by  Fixed by  What...
+Tothwolf  guppy     .servers doesn't trunicate server names anymore
 Wcc       guppy     made cmd_modules work locally as well as remotely
           guppy     made show_banner reset the help_subst arguments like show_motd does
                     and if the motd isn't a regular file, just return instead of giving
Index: eggdrop1.7/modules/server/cmdsserv.c
diff -u eggdrop1.7/modules/server/cmdsserv.c:1.2 eggdrop1.7/modules/server/cmdsserv.c:1.3
--- eggdrop1.7/modules/server/cmdsserv.c:1.2	Sun Dec  9 15:38:12 2001
+++ eggdrop1.7/modules/server/cmdsserv.c	Fri Dec 28 12:37:13 2001
@@ -2,7 +2,7 @@
  * cmdsserv.c -- part of server.mod
  *   handles commands from a user via dcc that cause server interaction
  *
- * $Id: cmdsserv.c,v 1.2 2001/12/09 21:38:12 guppy Exp $
+ * $Id: cmdsserv.c,v 1.3 2001/12/28 18:37:13 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -33,17 +33,21 @@
   if (!x) {
     dprintf(idx, "No servers.\n");
   } else {
-    dprintf(idx, "My server list:\n");
+    dprintf(idx, "Server list:\n");
     i = 0;
     for (; x; x = x->next) {
-      snprintf(s, sizeof s, "%14s %20.20s:%-10d",
-		   (i == curserv) ? "I am here ->" : "", x->name,
-		   x->port ? x->port : default_port);
       if (x->realname)
-	snprintf(s + 46, sizeof s - 46, " (%-.20s)", x->realname);
+	snprintf(s, sizeof s, "  %s:%d (%s) %s", x->name,
+		 x->port ? x->port : default_port, x->realname,
+		 (i == curserv) ? "<- I am here" : "");
+      else 
+	snprintf(s, sizeof s, "  %s:%d %s", x->name, 
+		 x->port ? x->port : default_port, 
+		 (i == curserv) ? "<- I am here" : "");
       dprintf(idx, "%s\n", s);
       i++;
     }
+    dprintf(idx, "End of server list.\n"); 
   }
 }
 
Index: eggdrop1.7/src/patch.h
diff -u eggdrop1.7/src/patch.h:1.563 eggdrop1.7/src/patch.h:1.564
--- eggdrop1.7/src/patch.h:1.563	Fri Dec 28 12:31:39 2001
+++ eggdrop1.7/src/patch.h	Fri Dec 28 12:37:14 2001
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.563 2001/12/28 18:31:39 guppy Exp $
+ * $Id: patch.h,v 1.564 2001/12/28 18:37:14 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,17 +41,17 @@
  *
  *
  */
-patch("1009564068");		/* current unixtime */
+patch("1009564114");		/* current unixtime */
 /*
  *
  *
  */
-patch("localmodules");
+patch("cmd_servers");
 /*
  *
  *
  */
-patch("localmodules");
+patch("cmd_servers");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list