rapid7/metasploit-framework — pull request #682 by bonsaiviking (2012-08-10 18:37:23+00:00)
Title: Fix handling of PAYLOAD_TYPE in persistence

post/windows/manage/persistence incorrectly checked the STARTUP option
to set the payload, which meant it was always the default (reverse_tcp).
Changed to check PAYLOAD_TYPE instead, as intended.