X-Git-Url: https://ruin.nu/git/?p=NDIRC.git;a=blobdiff_plain;f=Delling.pm;h=fe35fe131562ee1fecbb8d3f25b3cc82ad0a5ce2;hp=01097f2b318e54b9e2472bf34311e4efca472464;hb=dcb7d5ee3791ae43e7fcaf3639ce5b70f6c659ab;hpb=8211693b922ad772efc64463431f667d3baaceea diff --git a/Delling.pm b/Delling.pm index 01097f2..fe35fe1 100644 --- a/Delling.pm +++ b/Delling.pm @@ -162,8 +162,9 @@ sub refresh { }); $scans->execute; while (my $scan = $scans->fetchrow_hashref){ - $heap->{irc}->yield(notice => $scan->{nick}, "($scan->{coords} $scan->{type})" - ." http://game.planetarion.com/showscan.pl?scan_id=$scan->{scan_id}"); + $self->message("($scan->{coords} $scan->{type})" + ." http://game.planetarion.com/showscan.pl?scan_id=$scan->{scan_id}" + , @{$scan->{nick}}); $sentscan->execute($scan->{id}); }