]> ruin.nu Git - NDIRC.git/blobdiff - Commands/Scans.pm
Removed the global variables for special chans, using targets hashref in Dispatcher...
[NDIRC.git] / Commands / Scans.pm
index acfe9a90cbecb27f1b5012c24a7376be2093f6d5..315903190c6ddf5b5e15e57f4d5c9cf9c3ed10a6 100644 (file)
@@ -93,7 +93,7 @@ VALUES((SELECT uid FROM users WHERE hostmask ILIKE $1),$2,$3,$4) RETURNING (id)
                }
 
                if ($id){
-                       $c->message(privmsg => $ND::scanchan
+                       $c->message(privmsg =>$c->disp->targets->{scans}
                                ,"<b>$id</b> http://game.planetarion.com/waves.pl?id=$typeid&x=$x&y=$y&z=$z"
                                . " ($x:$y:$z $type) | <".$c->nick."> $msg"
                        );