diff options
Diffstat (limited to 'perl/Wallet/ACL/NetDB.pm')
-rw-r--r-- | perl/Wallet/ACL/NetDB.pm | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/perl/Wallet/ACL/NetDB.pm b/perl/Wallet/ACL/NetDB.pm index 23efa9d..6437ebc 100644 --- a/perl/Wallet/ACL/NetDB.pm +++ b/perl/Wallet/ACL/NetDB.pm @@ -99,6 +99,7 @@ sub check { } } while ($output->type eq 'output'); if ($status == 0) { + $roles ||= ''; my @roles = split (' ', $roles); for my $role (@roles) { return 1 if $role eq 'admin'; |