X-Git-Url: https://ruin.nu/git/?p=NDIRC.git;a=blobdiff_plain;f=Commands%2FPA.pm;h=9f7ae8a4071542d536ee3e705c0db5288f8f256d;hp=500e93b8e7b65874ca948978566bd566d6307b6e;hb=6815b7a875e95937693864b76a028f92ee2cbf35;hpb=57b44cc65d33c9bcb7f1ffcd91778689d30f9a5b diff --git a/Commands/PA.pm b/Commands/PA.pm index 500e93b..9f7ae8a 100644 --- a/Commands/PA.pm +++ b/Commands/PA.pm @@ -70,7 +70,7 @@ WITH p AS (SELECT pid,coords(x,y,z),ruler,planet,race,score,size,value,scorerank ) SELECT * FROM p, tags; }); - $f->execute($x,$y,$z,$nick,$c->uid,$c->check_user_roles(qw/irc_p_intel/)); + $f->execute($x,$y,$z,$nick,$c->uid,$c->check_user_roles(qw/irc_p_intel/) // 0); if (my $planet = $f->fetchrow_hashref()){ for (keys %{$planet}){ $planet->{$_} = valuecolor(1,$planet->{$_});