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

cvs at eggheads.org cvs at eggheads.org
Wed Dec 19 16:32:28 CST 2012


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.8
Branch tags: gettext
Commit time: 2012-12-19 22:32:28 UTC
Committer  : Thomas Sader <thommey at gmail.com>

Modified files:
  Tag: gettext
     doc/Changes1.8 scripts/dccwhois.tcl src/patch.h

Log message:

Fix a special char issue in dccwhois.tcl

---------------------- diff included ----------------------
Index: eggdrop1.8/doc/Changes1.8
diff -u eggdrop1.8/doc/Changes1.8:1.36.2.32 eggdrop1.8/doc/Changes1.8:1.36.2.33
--- eggdrop1.8/doc/Changes1.8:1.36.2.32	Tue Dec 11 07:28:10 2012
+++ eggdrop1.8/doc/Changes1.8	Wed Dec 19 16:32:18 2012
@@ -1,4 +1,4 @@
-$Id: Changes1.8,v 1.36.2.32 2012/12/11 13:28:10 thommey Exp $
+$Id: Changes1.8,v 1.36.2.33 2012/12/19 22:32:18 thommey Exp $
 
 Eggdrop Changes (since version 1.8.0)
 
@@ -6,6 +6,9 @@
 
 1.8.0 (CVS):
 
+  - Fix a special char issue in dccwhois.tcl
+    Patch by: thommey / Found by: dupondje
+
   - Make sure match_cidr returns NOMATCH if address families mismatch.
     Patch by: Robby
 
Index: eggdrop1.8/scripts/dccwhois.tcl
diff -u eggdrop1.8/scripts/dccwhois.tcl:1.1.1.1 eggdrop1.8/scripts/dccwhois.tcl:1.1.1.1.2.1
--- eggdrop1.8/scripts/dccwhois.tcl:1.1.1.1	Mon Jul 26 15:11:06 2010
+++ eggdrop1.8/scripts/dccwhois.tcl	Wed Dec 19 16:32:18 2012
@@ -19,7 +19,7 @@
 ##
 ###############################################################################
 ##
-## $Id: dccwhois.tcl,v 1.1.1.1 2010/07/26 21:11:06 simple Exp $
+## $Id: dccwhois.tcl,v 1.1.1.1.2.1 2012/12/19 22:32:18 thommey Exp $
 ##
 ###############################################################################
 ##
@@ -84,8 +84,7 @@
 proc dcc:whois {hand idx arg} {
   global dccwhois_flags
 
-  set arg [split [string trimright $arg]]
-  set who [lindex $arg 0]
+  set who [lindex [split $arg] 0]
 
   # Did user gave a handle other than their own?
   if {([string compare "" $who]) &&
Index: eggdrop1.8/src/patch.h
diff -u eggdrop1.8/src/patch.h:1.25.2.25 eggdrop1.8/src/patch.h:1.25.2.26
--- eggdrop1.8/src/patch.h:1.25.2.25	Mon Dec 10 16:54:15 2012
+++ eggdrop1.8/src/patch.h	Wed Dec 19 16:32:18 2012
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.25.2.25 2012/12/10 22:54:15 thommey Exp $
+ * $Id: patch.h,v 1.25.2.26 2012/12/19 22:32:18 thommey Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1355179806");            /* current unixtime */
+patch("1355956046");            /* current unixtime */
 /*
  *
  *
  */
-patch("cidrzeromatch");
+patch("dccwhoisfix");
 /*
  *
  *
----------------------- End of diff -----------------------


More information about the Changes mailing list