summaryrefslogtreecommitdiffstats
path: root/clerk
diff options
context:
space:
mode:
Diffstat (limited to 'clerk')
-rwxr-xr-xclerk5
1 files changed, 2 insertions, 3 deletions
diff --git a/clerk b/clerk
index 2face8f..535daad 100755
--- a/clerk
+++ b/clerk
@@ -219,9 +219,8 @@ sub random {
if ($action eq "Settings\n") {
my @action_items = ("5\n", "10\n", "15\n", "20\n", "25\n", "30\n");
my $action = backend_call(\@action_items);
- chomp $songs;
- $cfg->param(-block=>'General');
- $general_cfg->{songs} = $action;
+ chomp $action;
+ $cfg->param("General.songs", $action);
$cfg->save();
}
}