From b99be2dae638d1833a297f8bbd303052fe89c712 Mon Sep 17 00:00:00 2001 From: HD Moore Date: Sat, 9 Oct 2010 18:27:09 +0000 Subject: [PATCH] Unbreak this git-svn-id: file:///home/svn/framework3/trunk@10621 4d416f70-5f16-0410-b530-b9f4589650da --- lib/msf/core/module.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/msf/core/module.rb b/lib/msf/core/module.rb index 3bb91eab8a..f5bda879d5 100644 --- a/lib/msf/core/module.rb +++ b/lib/msf/core/module.rb @@ -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