doesn't gnuworld itself have a nicklen constant?

From: The Storm Surfer <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [Coder-Com] Re: [Bugs] Minor bug when banning with X using 12 letter nicknames
Date: Sat, 5 Jun 2004 15:08:49 -0400
MIME-Version: 1.0 (Apple Message framework v618)
Received: from mc9-f29.hotmail.com ([65.54.166.36]) by mc9-s1.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Sat, 5 Jun 2004 12:34:57 -0700
Received: from burrito.sbg.org ([66.218.53.89]) by mc9-f29.hotmail.com with Microsoft SMTPSVC(5.0.2195.6824); Sat, 5 Jun 2004 12:34:18 -0700
Received: from burrito.sbg.org (burrito [127.0.0.1])by burrito.sbg.org (8.12.10/8.12.7) with ESMTP id i55J9mLf002599for <[EMAIL PROTECTED]>; Sat, 5 Jun 2004 12:09:48 -0700
Received: (from [EMAIL PROTECTED])by burrito.sbg.org (8.12.10/8.12.10/Submit) id i55J9lBd002598for coder-com-outgoing; Sat, 5 Jun 2004 12:09:47 -0700
Received: from turkey.mail.pas.earthlink.net (turkey.mail.pas.earthlink.net [207.217.120.126])by burrito.sbg.org (8.12.10/8.12.7) with ESMTP id i55J9kLf002586for <[EMAIL PROTECTED]>; Sat, 5 Jun 2004 12:09:47 -0700
Received: from user-1120sn4.dsl.mindspring.com ([66.32.114.228] helo=Wakko)by turkey.mail.pas.earthlink.net with esmtp (Exim 3.33 #1)id 1BWgXC-00067H-00for [EMAIL PROTECTED]; Sat, 05 Jun 2004 12:08:50 -0700
Received: from dot.hr.dyndns.org ([10.0.0.7.55525])by Wakko with esmtp (Exim 3.35 #1 (Debian))id 1BWgXC-00078j-00for <[EMAIL PROTECTED]>; Sat, 05 Jun 2004 15:08:50 -0400
X-Message-Info: KtxBqYfPyq2xsMHmbRvDhQPd2iUYjFCn
X-Authentication-Warning: burrito.sbg.org: undernet set sender to [EMAIL PROTECTED] using -f
In-Reply-To: <[EMAIL PROTECTED]>
References: <[EMAIL PROTECTED]> <[EMAIL PROTECTED]>
Message-Id: <[EMAIL PROTECTED]>
X-Mailer: Apple Mail (2.618)
X-Scanned-By: MIMEDefang 2.42
Precedence: bulk
Return-Path: [EMAIL PROTECTED]
X-OriginalArrivalTime: 05 Jun 2004 19:34:18.0198 (UTC) FILETIME=[17BECF60:01C44B34]


On Jun 5, 2004, at 5:47 AM, Jeekay wrote:
On Sat, 5 Jun 2004, Marcus Lindgren wrote:
Seems to be a small bug in X,

[11:11] -> *x* ban #mIRC [EMAIL PROTECTED] 1 100 test
[11:11] -X- I can't find [EMAIL PROTECTED] on channel #mirc

seems X do not like ban masks with the new longer 12 letter nicknames

--- orig/mod.cservice/cservice.cc +++ mod/mod.cservice/cservice.cc @@ -2371,7 +2371,7 @@ // Check that a '!' exists, and that the nickname // is no more than 9 characters StringTokenizer st1( userMask, '!' ) ; -if( (st1.size() != 2) || (st1[ 0 ].size() > 9) ) +if( (st1.size() != 2) || (st1[ 0 ].size() > 12) ) { return false ; }


GK

Better make that 15, and don't forget to change the comment. Of course the best thing to do would be to use a constant of some sort.


_________________________________________________________________
Use MSN Messenger to send music and pics to your friends http://www.msn.co.uk/messenger




Reply via email to