summaryrefslogtreecommitdiff
path: root/libpiny/lib/Piny/Config.pm
diff options
context:
space:
mode:
authorJulian Blake Kongslie <jblake@omgwallhack.org>2011-05-23 19:12:13 -0700
committerJulian Blake Kongslie <jblake@omgwallhack.org>2011-05-23 19:12:13 -0700
commit5d9b4231e88e9fdb1c04fe9ac69e84b23255e4cd (patch)
tree52554120d4bc375cc3bc3611a676c8ad6452ada5 /libpiny/lib/Piny/Config.pm
parentaf30ffd1c585ae065ccee7181c32a2b50684a409 (diff)
downloadpiny-code-5d9b4231e88e9fdb1c04fe9ac69e84b23255e4cd.tar.gz
piny-code-5d9b4231e88e9fdb1c04fe9ac69e84b23255e4cd.zip
After mangling the config, reload it.
Diffstat (limited to 'libpiny/lib/Piny/Config.pm')
-rw-r--r--libpiny/lib/Piny/Config.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/libpiny/lib/Piny/Config.pm b/libpiny/lib/Piny/Config.pm
index b3de152..a1813d4 100644
--- a/libpiny/lib/Piny/Config.pm
+++ b/libpiny/lib/Piny/Config.pm
@@ -196,6 +196,8 @@ sub save {
};
$cs->write( $s->confpath );
+
+ $s->clear_conf;
};
# Dump all tweakables