Fix gettelnet usability

bug/bundler_fix
Miroslav Stampar 2014-08-04 12:02:07 +02:00
parent 159ce3fbbe
commit c280c2528b
1 changed files with 8 additions and 10 deletions

View File

@ -150,17 +150,15 @@ enbl = nil
unsupported if client.platform !~ /win32|win64/i
if enbl
if enbl or (usr!= nil && pass != nil)
message
insttlntsrv()
enabletlntsrv()
print_status("For cleanup use command: run multi_console_command -rc #{@dest}")
elsif usr!= nil && pass != nil
message
insttlntsrv()
enabletlntsrv()
addrdpusr(usr, pass)
if enbl
insttlntsrv()
enabletlntsrv()
end
if (usr!= nil && pass != nil)
addrdpusr(usr, pass)
end
print_status("For cleanup use command: run multi_console_command -rc #{@dest}")
else