X-Git-Url: http://gb7djk.dxcluster.net/gitweb/gitweb.cgi?a=blobdiff_plain;f=perl%2FThingy.pm;h=24c8b98f78c72d5a682e24b3e3e16cf2c2039036;hb=62df15dc544d86345ea75b2e72e5215f9841f430;hp=efacdbb3219f0864a587098e841229abd404ee8a;hpb=b03b8dda6a611e21b9e3d9c632c9a5fd68c36129;p=spider.git diff --git a/perl/Thingy.pm b/perl/Thingy.pm index efacdbb3..24c8b98f 100644 --- a/perl/Thingy.pm +++ b/perl/Thingy.pm @@ -113,7 +113,8 @@ sub broadcast dbg("Thingy::broadcast: " . $thing->ascii) if isdbg('thing'); my @dxchan; - my $to ||= $thing->{touser}; + my $to ||= $thing->{route}; + $to ||= $thing->{touser}; $to ||= $thing->{group}; if ($to && is_callsign($to) && (my $ref = Route::get($to))) { dbg("Thingy::broadcast: routing for $to") if isdbg('thing');