Fixed multiple updt-command deafness problem.

This commit is contained in:
Paul van Tilburg 2011-07-15 21:50:45 +02:00
parent 0f79b81e01
commit 421ba85620
1 changed files with 2 additions and 2 deletions

View File

@ -185,7 +185,7 @@ module Ildus
else
addr = IPAddr.new(addr)
end
@commit ||= @domain.update_host(host, addr)
@commit = @domain.update_host(host, addr) || @commit
rescue HostNotFoundError
prot_msg 425, host
rescue RecordNotFoundError
@ -203,7 +203,7 @@ module Ildus
else
addr = IPAddr.new(addr)
end
@commit ||= @domain.update_host(host, addr)
@commit = @domain.update_host(host, addr) || @commit
rescue HostNotFoundError
prot_msg 425, host
rescue RecordNotFoundError