summaryrefslogtreecommitdiffstats
path: root/news_wizard/scripts/Newsconf.pm
diff options
context:
space:
mode:
Diffstat (limited to 'news_wizard/scripts/Newsconf.pm')
-rw-r--r--news_wizard/scripts/Newsconf.pm5
1 files changed, 5 insertions, 0 deletions
diff --git a/news_wizard/scripts/Newsconf.pm b/news_wizard/scripts/Newsconf.pm
index 2ec5675d..55e99729 100644
--- a/news_wizard/scripts/Newsconf.pm
+++ b/news_wizard/scripts/Newsconf.pm
@@ -20,6 +20,11 @@ sub normalize_freq {
$freq;
}
+sub get_server {
+ my %mdk = Vareqval->get("/etc/leafnode/config");
+ $mdk{server};
+}
+
sub normalize_server {
my ($server) = @_;