From eb0fdb599af0e844cf3fe15773e3e2a3ecf0ff21 Mon Sep 17 00:00:00 2001 From: Ralf Ertzinger Date: Tue, 30 Apr 2013 18:33:31 +0200 Subject: [PATCH] libvideosite: use helper functions for _init_config_items --- libvideosite.pm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libvideosite.pm b/libvideosite.pm index 38aba57..ace6f81 100644 --- a/libvideosite.pm +++ b/libvideosite.pm @@ -193,8 +193,8 @@ sub _init_config_item { my $path = shift; my $value = shift; - unless($remote_api->{config_has}->($path)) { - $remote_api->{config_set}->($path, $value); + unless(_config_has($path)) { + _config_set($path, $value); } } -- 1.8.3.1