diff options
Diffstat (limited to 'ksirc/dsirc')
-rwxr-xr-x | ksirc/dsirc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ksirc/dsirc b/ksirc/dsirc index c6e0b63c..f358fcd7 100755 --- a/ksirc/dsirc +++ b/ksirc/dsirc @@ -114,8 +114,8 @@ $set{"IRCNAME"}=$opt_i || $ENV{"SIRCNAME"} || $ENV{"IRCNAME"} || "sirc user"; $nick=$opt_n || $ARGV[0] || $ENV{"SIRCNICK"} || $ENV{"IRCNICK"} || $username; $set{"FINGER"}=$ENV{"IRCFINGER"} || "keep your fingers to yourself"; $set{"USERINFO"}=$ENV{"USERINFO"} || "yep, I'm a user"; -if ($server =~ /^\[([^\]]+)\]:([0-9]*):?([^:]*)$/ - or $server =~ /^([^:]+):([0-9]*):?([^:]*)$/) +if ($server =~ /^\[([^\]]+)\]:([0-9]*):?(.*)$/ + or $server =~ /^([^:]+):([0-9]*):?(.*)$/) { ($server, $port, $pass)=($1, $2, $3); } |