Fix 'remoteuser@' on reopening closed sessions

Was due to using the wrong attribute from a connection when reopening

Github issue #72
This commit is contained in:
Duncan Ferguson 2017-03-04 09:06:25 +00:00
parent 41fe0714b5
commit 7981edecca
2 changed files with 3 additions and 2 deletions

View file

@ -1,6 +1,7 @@
4.09 0000-00-00 Duncan Ferguson <duncan_ferguson@user.sf.net>
- Add perl-5.24 Travis-CI automated testing config
- Correct a logic bug around the --debug option
- Correct a logic bug around the --debug option (Github issue #75)
- Fix 'Re-add closed windows' not using the correct username (Github issue #72)
4.08 2016-10-18 Duncan Ferguson <duncan_ferguson@user.sf.net>
- Add perl-5.8, 5.10 and 5.12 to Travis-CI automated testing

View file

@ -1387,7 +1387,7 @@ sub setup_repeat() {
if ( defined( $servers{$svr}{pid} ) ) {
if ( !kill( 0, $servers{$svr}{pid} ) ) {
$build_menu = 1;
push( @dead_hosts, $servers{$svr}{givenname} );
push( @dead_hosts, $servers{$svr}{connect_string} );
delete( $servers{$svr} );
$self->debug( 0, "$svr session closed" );
}