[cvslog] Module eggdrop1.6: Change committed

cvslog cvs at tsss.org
Thu Dec 20 00:54:01 CST 2001


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2001-12-20 06:53:25 UTC
Commited by: Jeff Fisher <guppy at techmonkeys.org>

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

Log message:

added my cmd_servers.diff and yes I fixed the cosmetic bug as pointed out by Wcc

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.259 eggdrop1.6/doc/UPDATES1.6:1.260
--- eggdrop1.6/doc/UPDATES1.6:1.259	Thu Dec 20 00:32:00 2001
+++ eggdrop1.6/doc/UPDATES1.6	Thu Dec 20 00:53:15 2001
@@ -1,10 +1,11 @@
-$Id: UPDATES1.6,v 1.259 2001/12/20 06:32:00 guppy Exp $
+$Id: UPDATES1.6,v 1.260 2001/12/20 06:53:15 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.6/src/mod/server.mod/cmdsserv.c
diff -u eggdrop1.6/src/mod/server.mod/cmdsserv.c:1.10 eggdrop1.6/src/mod/server.mod/cmdsserv.c:1.11
--- eggdrop1.6/src/mod/server.mod/cmdsserv.c:1.10	Sun Jul 29 01:08:04 2001
+++ eggdrop1.6/src/mod/server.mod/cmdsserv.c	Thu Dec 20 00:53:15 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.10 2001/07/29 06:08:04 guppy Exp $
+ * $Id: cmdsserv.c,v 1.11 2001/12/20 06:53:15 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) {
-      egg_snprintf(s, sizeof s, "%14s %20.20s:%-10d",
-		   (i == curserv) ? "I am here ->" : "", x->name,
-		   x->port ? x->port : default_port);
       if (x->realname)
-	egg_snprintf(s + 46, sizeof s - 46, " (%-.20s)", x->realname);
+	egg_snprintf(s, sizeof s, "  %s:%d (%s) %s", x->name,
+                     x->port ? x->port : default_port, x->realname,
+                     (i == curserv) ? "<- I am here" : "");
+      else 
+        egg_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.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.636 eggdrop1.6/src/patch.h:1.637
--- eggdrop1.6/src/patch.h:1.636	Thu Dec 20 00:32:01 2001
+++ eggdrop1.6/src/patch.h	Thu Dec 20 00:53:15 2001
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.636 2001/12/20 06:32:01 guppy Exp $
+ * $Id: patch.h,v 1.637 2001/12/20 06:53:15 guppy Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1008829805");		/* current unixtime */
+patch("1008831073");		/* current unixtime */
 /*
  *
  *
  */
-patch("localmodules");
+patch("cmd_servers");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list