- chop;
- next if /^\s*$/;
- next if /^[\#\[ ]/;
-
- if (/^(\S+)(:(\d+))?$/) {
- push(@ircServers,$1);
- $ircPort{$1} = ($3 || 6667);
- } else {
- &status("loadIRCServers: invalid line => '$_'.");
- }
+ chop;
+ next if /^\s*$/;
+ next if /^[\#\[ ]/;
+
+ if (/^\s*(\S+?)(:(\d+))?\s*$/) {
+ push( @ircServers, $1 );
+ $ircPort{$1} = ( $3 || 6667 );
+ }
+ else {
+ &status("loadIRCServers: invalid line => '$_'.");
+ }