diff --git a/sgx_jmp.rb b/sgx_jmp.rb index 0015e76722ca9a752f4c8768381a19b8c1ddadb4..789986001a7c9a9a2df6c8a4a739581644db6e2c 100644 --- a/sgx_jmp.rb +++ b/sgx_jmp.rb @@ -429,7 +429,10 @@ disco_info do |iq| self << reply end -disco_items node: "http://jabber.org/protocol/commands" do |iq| +disco_items( + to: Blather::JID.new(CONFIG[:component][:jid]), + node: "http://jabber.org/protocol/commands" +) do |iq| StatsD.increment("command_list") reply = iq.reply