From: minima Date: Sun, 19 Nov 2000 21:57:06 +0000 (+0000) Subject: fix problem with myalias user going X-Git-Tag: R_1_45~22 X-Git-Url: http://dxcluster.net/gitweb/gitweb.cgi?a=commitdiff_plain;h=29cfbdc85ae44c73dd0a036ab3f19d6040505fba;p=spider.git fix problem with myalias user going --- 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);