summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2013-06-08 14:36:00 -0500
committerJesse Luehrs <doy@tozt.net>2013-06-08 14:36:00 -0500
commitc54e908ea3fb763e66ca2830eb8dbfab4567582c (patch)
treea91c5db3407e316cea3ed1e79984be98424ee99c
parent41f767bb6fa8f33b2f4ace0b909969dbcbbc37d5 (diff)
downloadreply-c54e908ea3fb763e66ca2830eb8dbfab4567582c.tar.gz
reply-c54e908ea3fb763e66ca2830eb8dbfab4567582c.zip
use run_one for all of these too
-rw-r--r--lib/Reply.pm4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Reply.pm b/lib/Reply.pm
index c3fa297..6f7adb2 100644
--- a/lib/Reply.pm
+++ b/lib/Reply.pm
@@ -154,7 +154,7 @@ sub _load_config {
}
for my $line (sort grep { /^script_line/ } keys %$root_config) {
- $self->_eval($root_config->{$line});
+ $self->run_one($root_config->{$line});
}
if (defined(my $file = $root_config->{script_file})) {
@@ -163,7 +163,7 @@ sub _load_config {
local $/ = undef;
<$fh>
};
- $self->_eval($contents);
+ $self->run_one($contents);
}
}