Bug 131000, "IRC server port specification seems to not work..."

patch=cross@distal.com, r=me,peterv, a=asa
make ports work in IRC urls again
This commit is contained in:
rginda%netscape.com 2002-03-26 00:41:18 +00:00
parent a8a76aa929
commit 53bda8f0fc

View File

@ -1413,7 +1413,7 @@ function cli_iserver (e)
return false;
var ary =
e.inputData.match(/^([^\s\:]+)[\s\:]?(?:(\d+)(?:\s+(\S+)|$)|(\S+)|$)/);
e.inputData.match(/^([^\s\:]+)[\s\:]?(?:(\d+)(?:\s+(\S+)|\s*$)|(\S+)|$)/);
var pass;
if (3 in ary && ary[3])
pass = ary[3];