X-Git-Url: https://ruin.nu/git/?p=NDIRC.git;a=blobdiff_plain;f=Commands%2FScans.pm;h=acfe9a90cbecb27f1b5012c24a7376be2093f6d5;hp=31eea44fb9f940800b58132568c4d9cfc673f0a2;hb=e8c94cdebefdc428ea92fde6db63f18d3e8399b2;hpb=1ccb344994c1b517c662da9f236cf1c640780177 diff --git a/Commands/Scans.pm b/Commands/Scans.pm index 31eea44..acfe9a9 100644 --- a/Commands/Scans.pm +++ b/Commands/Scans.pm @@ -93,7 +93,7 @@ VALUES((SELECT uid FROM users WHERE hostmask ILIKE $1),$2,$3,$4) RETURNING (id) } if ($id){ - $c->message("msg $ND::scanchan" + $c->message(privmsg => $ND::scanchan ,"$id http://game.planetarion.com/waves.pl?id=$typeid&x=$x&y=$y&z=$z" . " ($x:$y:$z $type) | <".$c->nick."> $msg" ); @@ -198,9 +198,9 @@ sub anon my ($self, $c, $msg) = @_; my ($target,$mess) = $msg =~ /^(\S+) (.*)$/ or die 'ARGS'; - $c->message("msg $target", "$mess (reply with /msg " + $c->message(privmsg => $target, "$mess (reply with /msg " .$c->channel.")"); - $c->message("msg ".$c->channel, "$target << $mess"); + $c->message(privmsg => $c->channel, "$target << $mess"); } sub addscan