Fixed multiple updt-command deafness problem.
This commit is contained in:
parent
0f79b81e01
commit
421ba85620
|
@ -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
|
||||
|
|
Reference in New Issue