my ($self, $tonode, $fromnode, $user, $cmd) = @_;
if ($tonode eq $main::mycall) {
my $ref = DXUser::get_current($fromnode);
- unless ($ref && UNIVERSAL($ref, 'DXUser')) {
+ unless ($ref && UNIVERSAL::isa($ref, 'DXUser')) {
dbg("DXProt process_rcmd: user $fromnode isn't a reference (check user_asc and tell G1TLH)");
$self->send_rcmd_reply($main::mycall, $fromnode, $user, "sorry...!");
return;
}
my $cref = Route::Node::get($fromnode);
- unless ($cref && UNIVERSAL($cref, 'Route')) {
+ unless ($cref && UNIVERSAL::isa($cref, 'Route')) {
dbg("DXProt process_rcmd: Route $fromnode isn't a reference (tell G1TLH)");
$self->send_rcmd_reply($main::mycall, $fromnode, $user, "sorry...!");
return;