lib/metasploit/aggregator/router.rb in metasploit-aggregator-0.1.1 vs lib/metasploit/aggregator/router.rb in metasploit-aggregator-0.1.2

- old
+ new

@@ -29,12 +29,12 @@ @forward_routes.delete(payload) end end end - def get_forward(uri) - unless @forward_routes[uri].nil? - @forward_routes[uri] + def get_forward(payload) + unless @forward_routes[payload].nil? + @forward_routes[payload] else @forward_routes['default'] end end \ No newline at end of file