~singpolyma/sgx-jmp

53d08945b8bf88df86c34929255f765797aa4ad4 — Stephen Paul Weber 1 year, 1 month ago 88d7cc8
hotfix
2 files changed, 3 insertions(+), 3 deletions(-)

M lib/command.rb
M sgx_jmp.rb
M lib/command.rb => lib/command.rb +2 -2
@@ 152,8 152,8 @@ class Command
		@blk = blk
	end

	def register(blather)
		blather.command(:execute?, node: @node, sessionid: nil) do |iq|
	def register(blather, guards: [:execute?, node: @node, sessionid: nil])
		blather.command(*guards) do |iq|
			customer_repo = CustomerRepo.new
			Execution.new(customer_repo, blather, @format_error, iq).execute(&@blk)
		end

M sgx_jmp.rb => sgx_jmp.rb +1 -1
@@ 391,7 391,7 @@ Command.new(
		Command.customer.then do |customer|
			customer.stanza_from(Command.execution.iq)
		end
	}.register(self).then(&CommandList.method(:register))
	}.register(self, guards: [node: node]).then(&CommandList.method(:register))
end

Command.new(