Index: trunk/extensions/CheckUser/checkuser.js |
— | — | @@ -104,7 +104,7 @@ |
105 | 105 | // Apply any valid CIDRs |
106 | 106 | if( cidr ) { |
107 | 107 | cidr = cidr.match( /\d+$/ )[0]; // get rid of slash |
108 | | - if( cidr >= 64 ) bin = bin.substring(0,cidr); // truncate bin |
| 108 | + if( cidr >= 96 ) bin = bin.substring(0,cidr); // truncate bin |
109 | 109 | } |
110 | 110 | // Init bin_prefix |
111 | 111 | if( bin_prefix === 0 ) { |
— | — | @@ -122,7 +122,7 @@ |
123 | 123 | // Build the IP in CIDR form |
124 | 124 | var prefix_cidr = bin_prefix.length; |
125 | 125 | // CIDR too small? |
126 | | - if( prefix_cidr < 64 ) { |
| 126 | + if( prefix_cidr < 96 ) { |
127 | 127 | document.getElementById( 'mw-checkuser-cidr-res' ).value = "!"; |
128 | 128 | document.getElementById( 'mw-checkuser-ipnote' ).innerHTML = ''; |
129 | 129 | return; // too big |