summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/network/netconnect.pm3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/network/netconnect.pm b/lib/network/netconnect.pm
index 2d0a60b..5a8e861 100644
--- a/lib/network/netconnect.pm
+++ b/lib/network/netconnect.pm
@@ -189,7 +189,8 @@ sub real_main {
@providers_data = $connection->get_providers;
require lang;
my $locale_country = lang::c2name($::o->{locale}{country} || lang::read()->{country});
- $provider_name = find { /^\Q$locale_country\E/ } sort(keys %{$providers_data[0]});
+ my $separator = $providers_data[1];
+ $provider_name = find { /^\Q$locale_country$separator\E/ } sort(keys %{$providers_data[0]});
},
name => sub { $net->{type}->get_type_name . "\n\n" . N("Please select your provider:") },
data => sub {