]> ruin.nu Git - ndwebbie.git/blobdiff - lib/NDWeb/Controller/Intel.pm
Show nick when pasting coords
[ndwebbie.git] / lib / NDWeb / Controller / Intel.pm
index 94bbfa15841418ccb574ba9ec14ce30046ddbfab..535ca28bbf0a4d7109796df30001a2750416895e 100644 (file)
@@ -49,7 +49,7 @@ sub index :Path : Args(0) {
                while ($coords =~ m/(\d+:\d+:\d+)/g){
                        push @coords,$1;
                }
-               my $planets = $dbh->prepare(q{SELECT id,coords(x,y,z), alliance
+               my $planets = $dbh->prepare(q{SELECT id,coords(x,y,z), alliance, nick
                        FROM current_planet_stats p
                        WHERE coords(x,y,z) = ANY($1)
                        ORDER BY alliance, p.x, p.y, p.z