rapid7/metasploit-framework — pull request #325 by todb-r7 (2012-04-10 19:48:54+00:00)
Title: ACTION on persistence.rb should be an OptEnum

That way, upcase / downcase problems get caught on option validation,
rather than down in the module's guts.

I believe this will resolve the problem discussed on IRC.