fix main:mkver()
[spider.git] / perl / DXProt.pm
index ac755b099d98c64450eb2a108aa59db057a0de4c..3001d6eb1b3cb8a9c4f7fe894ff3cf2ec5ae8115 100644 (file)
@@ -1547,9 +1547,8 @@ sub handle_51
        }
 
        my $thing = Thingy::Ping->new(origin=>$main::mycall);
-       $thing->from_DXProt($_[2] eq $self->{call} ? (user=>$_[2]) : (user=>$self->{call}, o=>$_[2]), group=>$_[1], out=>$_[3], DXProt=>$line);
-       $thing->process($self);
-       
+       $thing->from_DXProt($self, $line, @_);
+       $thing->handle($self);
 }
 
 # dunno but route it