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