summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libpiny/lib/Piny/Config.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/libpiny/lib/Piny/Config.pm b/libpiny/lib/Piny/Config.pm
index 53b19e3..b949198 100644
--- a/libpiny/lib/Piny/Config.pm
+++ b/libpiny/lib/Piny/Config.pm
@@ -163,6 +163,7 @@ sub save {
foreach my $key ( keys %{$s->_conf} ) {
if ( exists $override->{$key} ) {
+ $s->_conf->{$key} = $override->{$key};
delete $s->_conf->{$key} if $key =~ /^piny\./;
} elsif ( exists $userconf->{$key} ) {
delete $s->_conf->{$key} if $userconf->{$key} eq $s->_conf->{$key};