[cvslog] (2005-07-31 07:23:20 UTC) Module eggdrop1.6: Change committed!

cvslog cvs at tsss.org
Sun Jul 31 01:23:20 CST 2005


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2005-07-31 07:23:20 UTC
Commited by: Will Buckner <wcc at techmonkeys.org>

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

Log message:

Rest of patch... oops.

- Don't allow realname to be blank or whitespace.
* Found by: Jesse M - Patch by: BarkerJr / Wcc

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/UPDATES1.6
diff -u eggdrop1.6/doc/UPDATES1.6:1.614 eggdrop1.6/doc/UPDATES1.6:1.615
--- eggdrop1.6/doc/UPDATES1.6:1.614	Sun Jul 31 01:32:57 2005
+++ eggdrop1.6/doc/UPDATES1.6	Sun Jul 31 02:23:09 2005
@@ -1,4 +1,4 @@
-$Id: UPDATES1.6,v 1.614 2005/07/31 06:32:57 wcc Exp $
+$Id: UPDATES1.6,v 1.615 2005/07/31 07:23:09 wcc Exp $
 
 Eggdrop Changes (since v1.6.0)
     _____________________________________________________________________
@@ -12,6 +12,9 @@
 
 
   1.6.18:
+    - Don't allow realname to be blank or whitespace.
+    * Found by: Jesse M - Patch by: BarkerJr / Wcc
+
     - Fixed an error in channel get. You can now, correctly, do a channel
       get #channel stopnethack-mode.
     * Found by: Chris Northwood - Patch by: Wcc
Index: eggdrop1.6/src/mod/server.mod/servmsg.c
diff -u eggdrop1.6/src/mod/server.mod/servmsg.c:1.87 eggdrop1.6/src/mod/server.mod/servmsg.c:1.88
--- eggdrop1.6/src/mod/server.mod/servmsg.c:1.87	Sun Jul 31 02:01:51 2005
+++ eggdrop1.6/src/mod/server.mod/servmsg.c	Sun Jul 31 02:23:10 2005
@@ -1,7 +1,7 @@
 /*
  * servmsg.c -- part of server.mod
  *
- * $Id: servmsg.c,v 1.87 2005/07/31 07:01:51 wcc Exp $
+ * $Id: servmsg.c,v 1.88 2005/07/31 07:23:10 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -1299,7 +1299,9 @@
     if (pass[0])
       dprintf(DP_MODE, "PASS %s\n", pass);
     dprintf(DP_MODE, "NICK %s\n", botname);
-    if (botrealname[0] == 0 || (botrealname[0] == ' ' && botrealname[1] == 0))
+
+    rmspace(botrealname);
+    if (botrealname[0] == 0)
       strcpy(botrealname, "/msg LamestBot hello");
     dprintf(DP_MODE, "USER %s . . :%s\n", botuser, botrealname);
     /* Wait for async result now */
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.1158 eggdrop1.6/src/patch.h:1.1159
--- eggdrop1.6/src/patch.h:1.1158	Sun Jul 31 02:01:51 2005
+++ eggdrop1.6/src/patch.h	Sun Jul 31 02:23:10 2005
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.1158 2005/07/31 07:01:51 wcc Exp $
+ * $Id: patch.h,v 1.1159 2005/07/31 07:23:10 wcc Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1122793286");            /* current unixtime */
+patch("1122793406");            /* current unixtime */
 /*
  *
  *
  */
-patch("stopnethack-get2");
+patch("realnamefix");
 /*
  *
  *
----------------------- End of diff -----------------------



More information about the Changes mailing list