dont append nothing

GSoC/Meterpreter_Web_Console
h00die 2018-10-08 13:23:54 -04:00
parent 023f7db9ba
commit edea3c45cd
1 changed files with 1 additions and 1 deletions

View File

@ -769,7 +769,7 @@ class ReadableText
sess_registration = "No"
# to_s is required incase something bugged earlier and .platform is nil
if session.respond_to?(:platform)
if session.respond_to?(:platform) && !session.platform.nil?
sess_type << " " + session.platform.to_s
end