rapid7/metasploit-framework — pull request #539 by wchen-r7 (2012-06-28 16:48:40+00:00)
Title: Fix broken reload_modules function

This fixes 2 issues:
1) undefined method `module_history='

2) Return the number of the modules reloaded. Since there's no documentation regarding exactly what type of data this function should be returning, I assume it's actually trying to return the total.