- # for directly connected calls
-# if ($Thingy::Hello::verify_on_login) {
-# my $pp = $dxchan->user->passphrase;
-# unless ($pp) {
-# dbglog('err', "Thingy::Bye::handle: verify on and $thing->{origin} has no passphrase");
-# return;
-# }
-# my $auth = Verify->new("DXSp,$thing->{origin},$thing->{s}");
-# unless ($auth->verify($thing->{auth}, $dxchan->user->passphrase)) {
-# dbglog('err', "Thingy::Bye::handle: verify on and $thing->{origin} failed auth check");
-# return;
-# }
-# }
-
- my $int = $thing->{user} || $thing->{origin};
- RouteDB::delete_interface($int);
+ # fix the interface routing
+ my $intcall = $thing->{user} || $thing->{origin};
+ if ($dxchan->{call} eq $thing->{origin}) {
+ RouteDB::delete_interface($intcall);