[cvslog] [CVS] Module eggdrop1.6: Change committed

cvs at eggheads.org cvs at eggheads.org
Sun Oct 2 12:21:45 CST 2011


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.6
Commit time: 2011-10-02 18:21:45 UTC
Committer  : Rumen Stoyanov <pseudo at egg6.net>

Modified files:
     doc/Changes1.6 src/dcc.c src/patch.h

Log message:

Made dcc_telnet_new() allow non-latin characters in new handles like other handle validation functions.

---------------------- diff included ----------------------
Index: eggdrop1.6/doc/Changes1.6
diff -u eggdrop1.6/doc/Changes1.6:1.112 eggdrop1.6/doc/Changes1.6:1.113
--- eggdrop1.6/doc/Changes1.6:1.112	Sun Oct  2 11:34:33 2011
+++ eggdrop1.6/doc/Changes1.6	Sun Oct  2 12:21:35 2011
@@ -1,4 +1,4 @@
-$Id: Changes1.6,v 1.112 2011/10/02 17:34:33 pseudo Exp $
+$Id: Changes1.6,v 1.113 2011/10/02 18:21:35 pseudo Exp $
 
 Eggdrop Changes (since version 1.6.0)
 
@@ -6,6 +6,10 @@
 
 1.6.21 (CVS):
 
+  - Made dcc_telnet_new() allow non-latin characters in new handles like other
+    handle validation functions.
+    Patch by: pseudo
+
   - Removed -mwin32 on Windows. It's no longer necessary and causes problems
     with Cygwin 1.7.
     Patch by: Kirben, pseudo
Index: eggdrop1.6/src/dcc.c
diff -u eggdrop1.6/src/dcc.c:1.94 eggdrop1.6/src/dcc.c:1.95
--- eggdrop1.6/src/dcc.c:1.94	Sun Feb 13 08:19:33 2011
+++ eggdrop1.6/src/dcc.c	Sun Oct  2 12:21:35 2011
@@ -4,7 +4,7 @@
  *   disconnect on a dcc socket
  *   ...and that's it!  (but it's a LOT)
  *
- * $Id: dcc.c,v 1.94 2011/02/13 14:19:33 simple Exp $
+ * $Id: dcc.c,v 1.95 2011/10/02 18:21:35 pseudo Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -1581,7 +1581,7 @@
     strip_telnet(dcc[idx].sock, buf, &x);
   dcc[idx].timeval = now;
   for (x = 0; x < strlen(buf); x++)
-    if ((buf[x] <= 32) || (buf[x] >= 127))
+    if (buf[x] <= 32)
       ok = 0;
   if (!ok) {
     dprintf(idx, "\nYou can't use weird symbols in your nick.\n");
Index: eggdrop1.6/src/patch.h
diff -u eggdrop1.6/src/patch.h:1.1266 eggdrop1.6/src/patch.h:1.1267
--- eggdrop1.6/src/patch.h:1.1266	Sun Oct  2 11:34:33 2011
+++ eggdrop1.6/src/patch.h	Sun Oct  2 12:21:35 2011
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.1266 2011/10/02 17:34:33 pseudo Exp $
+ * $Id: patch.h,v 1.1267 2011/10/02 18:21:35 pseudo Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1317576601");            /* current unixtime */
+patch("1317578923");            /* current unixtime */
 /*
  *
  *
  */
-patch("w32");
+patch("weirdsymbols");
 /*
  *
  *
----------------------- End of diff -----------------------


More information about the Changes mailing list