rapid7/metasploit-framework — pull request #3010 by jvennix-r7 (2014-02-19 09:09:04+00:00)
Title: EXITFUNC option in Msf::Payload::Windows mixin should be an OptEnum

Verification:

```
$ ./msfconsole
msf> use exploit/multi/handler
msf> set payload windows/meterpreter/reverse_tcp
msf> show options
```

- [ ] Verify EXITFUNC shows up, along with a list of accepted values

```
msf> set EXITFUNC asdasdasd
msf> run
```

- [ ] Verify you get a datastore validation error

```
msf> set EXITFUNC none
msf> run
```

- [ ] Verify it runs