Unbreak this

git-svn-id: file:///home/svn/framework3/trunk@10621 4d416f70-5f16-0410-b530-b9f4589650da
This commit is contained in:
HD Moore 2010-10-09 18:27:09 +00:00
parent f19be2ca3f
commit b99be2dae6
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ class Module
# Fallback when neither prior method is available, common for msfconsole
if username.empty?
username = (ENV['LOGNAME'] || ENV['USERNAME'] || ENV['USER'] || "unknown").to_.strip
username = (ENV['LOGNAME'] || ENV['USERNAME'] || ENV['USER'] || "unknown").to_s.strip
end
username