From 8bbc9419b28340d5e2e6921a69595692a90c3485 Mon Sep 17 00:00:00 2001 From: Peter Palfrader Date: Wed, 2 Mar 2011 13:05:54 +0100 Subject: [PATCH] Now I cannot even get ruby syntax right --- modules/exim/templates/manualroute.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/exim/templates/manualroute.erb b/modules/exim/templates/manualroute.erb index 3e51534d2..40062d8dc 100644 --- a/modules/exim/templates/manualroute.erb +++ b/modules/exim/templates/manualroute.erb @@ -19,7 +19,7 @@ end mxregex = Regexp.new('^\d+\s+(.*)\.$') allnodeinfo.keys.sort.each do |host| - next unless allnodeinfo[host['mXRecord'] + next unless allnodeinfo[host]['mXRecord'] allnodeinfo[host]['mXRecord'].each do |mx| mxmatch = mxregex.match(mx) if mxmatches.include?(mxmatch[1]) -- 2.20.1