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.