Commit 25a534b9 authored by Leigh B Stoller's avatar Leigh B Stoller

Change test for adding firewall; guest users are always firewalled.

parent 255d2f77
......@@ -299,7 +299,7 @@ my $profile_object = APT_Profile->Lookup($value);
if (!defined($profile_object)) {
fatal("No such profile: $value");
}
my $rspecstr = $profile_object->CheckFirewall($profile_object->public());
my $rspecstr = $profile_object->CheckFirewall(!$localuser);
$profile = $profile_object->idx();
#
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment