Skip to content

Commit d0b56e1

Browse files
committed
Use the correct variable
1 parent d89932b commit d0b56e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/auxiliary/client/smtp/emailer.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ def load_yaml_conf
5050
opts = {}
5151

5252
File.open(datastore['YAML_CONFIG'], "rb") do |f|
53-
yamlconf = YAML::load(fileconf)
53+
yamlconf = YAML::load(f)
5454

5555
opts['to'] = yamlconf['to']
5656
opts['from'] = yamlconf['from']

0 commit comments

Comments
 (0)