mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-12 12:55:46 +00:00
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:
parent
a8a76aa929
commit
53bda8f0fc
@ -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];
|
||||
|
Loading…
Reference in New Issue
Block a user