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

cvs at eggheads.org cvs at eggheads.org
Tue Aug 31 12:21:57 CST 2010


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.8
Commit time: 2010-08-31 18:21:57 UTC
Committer  : Rumen Stoyanov <pseudo at egg6.net>

Modified files:
     doc/Changes1.8 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.8/doc/Changes1.8
diff -u eggdrop1.8/doc/Changes1.8:1.8 eggdrop1.8/doc/Changes1.8:1.9
--- eggdrop1.8/doc/Changes1.8:1.8	Mon Aug 23 15:27:40 2010
+++ eggdrop1.8/doc/Changes1.8	Tue Aug 31 12:21:46 2010
@@ -1,4 +1,4 @@
-$Id: Changes1.8,v 1.8 2010/08/23 21:27:40 pseudo Exp $
+$Id: Changes1.8,v 1.9 2010/08/31 18:21:46 pseudo Exp $
 
 Eggdrop Changes (since version 1.8.0)
 
@@ -6,6 +6,10 @@
 
 1.8.0 (CVS):
 
+  - Made dcc_telnet_new() allow non-latin characters in new handles like
+    other handle validation functions.
+    Patch by: pseudo
+
   - Modified src/compat/ replacements of gethostbyname2() and inet_ntop()
     to not compile when IPv6 is disabled.
   - Added a missing header preventing gethostbyname2() from compiling on
Index: eggdrop1.8/src/dcc.c
diff -u eggdrop1.8/src/dcc.c:1.2 eggdrop1.8/src/dcc.c:1.3
--- eggdrop1.8/src/dcc.c:1.2	Thu Aug  5 12:12:05 2010
+++ eggdrop1.8/src/dcc.c	Tue Aug 31 12:21:47 2010
@@ -4,7 +4,7 @@
  *   disconnect on a dcc socket
  *   ...and that's it!  (but it's a LOT)
  *
- * $Id: dcc.c,v 1.2 2010/08/05 18:12:05 pseudo Exp $
+ * $Id: dcc.c,v 1.3 2010/08/31 18:21:47 pseudo Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -1584,7 +1584,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.8/src/patch.h
diff -u eggdrop1.8/src/patch.h:1.4 eggdrop1.8/src/patch.h:1.5
--- eggdrop1.8/src/patch.h:1.4	Wed Aug 11 09:57:51 2010
+++ eggdrop1.8/src/patch.h	Tue Aug 31 12:21:47 2010
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.4 2010/08/11 15:57:51 thommey Exp $
+ * $Id: patch.h,v 1.5 2010/08/31 18:21:47 pseudo Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1281542217");            /* current unixtime */
+patch("1283278859");            /* current unixtime */
 /*
  *
  *
  */
-patch("notifierinitcheck");
+patch("weirdsymbols");
 /*
  *
  *
----------------------- End of diff -----------------------


More information about the Changes mailing list