From 29cfbdc85ae44c73dd0a036ab3f19d6040505fba Mon Sep 17 00:00:00 2001 From: minima Date: Sun, 19 Nov 2000 21:57:06 +0000 Subject: [PATCH] fix problem with myalias user going --- Changes | 5 +++++ perl/DXCommandmode.pm | 6 ++++++ 2 files changed, 11 insertions(+) diff --git a/Changes b/Changes index 4c4a089a..2e148962 100644 --- a/Changes +++ b/Changes @@ -1,3 +1,8 @@ +19Nov00======================================================================= +1. improve reaping code a bit more. +2. put some extra checking in the PC16,17,19,21 code. +3. fix problem with the aliased user disappearing and loads of 'unitialised' +messages coming out. 16Nov00======================================================================= 1. Alter the process reaping code in cluster.pl to use waitpid 12Nov00======================================================================= diff --git a/perl/DXCommandmode.pm b/perl/DXCommandmode.pm index 6306226d..3c45aee9 100644 --- a/perl/DXCommandmode.pm +++ b/perl/DXCommandmode.pm @@ -390,6 +390,12 @@ sub finish my $conn = shift; my $call = $self->call; + # reset the redirection of messages back to 'normal' if we are the sysop + if ($call eq $main::myalias) { + my $node = DXNode->get($main::mycall) or die "$main::mycall not allocated in DXNode database"; + $node->dxchan($DXProt::me); + } + # I was the last node visited $self->user->node($main::mycall); -- 2.43.0