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

cvs at eggheads.org cvs at eggheads.org
Wed Dec 19 16:30:53 CST 2012


CVSROOT    : /usr/local/cvsroot
Module     : eggdrop1.8
Commit time: 2012-12-19 22:30:53 UTC
Committer  : Thomas Sader <thommey at gmail.com>

Modified files:
     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.67 eggdrop1.8/doc/Changes1.8:1.68
--- eggdrop1.8/doc/Changes1.8:1.67	Tue Dec 11 07:27:44 2012
+++ eggdrop1.8/doc/Changes1.8	Wed Dec 19 16:30:43 2012
@@ -1,4 +1,4 @@
-$Id: Changes1.8,v 1.67 2012/12/11 13:27:44 thommey Exp $
+$Id: Changes1.8,v 1.68 2012/12/19 22:30:43 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.2
--- 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:30:43 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.2 2012/12/19 22:30:43 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.46 eggdrop1.8/src/patch.h:1.47
--- eggdrop1.8/src/patch.h:1.46	Mon Dec 10 16:49:45 2012
+++ eggdrop1.8/src/patch.h	Wed Dec 19 16:30:43 2012
@@ -10,7 +10,7 @@
  * statement, leave the rest of the file alone, this allows better
  * overlapping patches.
  *
- * $Id: patch.h,v 1.46 2012/12/10 22:49:45 thommey Exp $
+ * $Id: patch.h,v 1.47 2012/12/19 22:30:43 thommey Exp $
  */
 /*
  * Copyright (C) 1997 Robey Pointer
@@ -41,12 +41,12 @@
  *
  *
  */
-patch("1355179546");            /* current unixtime */
+patch("1355955938");            /* current unixtime */
 /*
  *
  *
  */
-patch("cidrzeromatch");
+patch("dccwhoisfix");
 /*
  *
  *
----------------------- End of diff -----------------------


More information about the Changes mailing list