fix problem with myalias user going
authorminima <minima>
Sun, 19 Nov 2000 21:57:06 +0000 (21:57 +0000)
committerminima <minima>
Sun, 19 Nov 2000 21:57:06 +0000 (21:57 +0000)
Changes
perl/DXCommandmode.pm

diff --git a/Changes b/Changes
index 4c4a089a2fcb2698f1ecb2f56db6f6f6a9fc62a5..2e1489629cb7be2633a97f4a94a16ecb04f7ea05 100644 (file)
--- 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=======================================================================
index 6306226d7e6862f87b4ae61c02753e36e3094961..3c45aee968f0c1c0ebc8c1c560f8f0e184d51d5a 100644 (file)
@@ -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);