]> ruin.nu Git - NDIRC.git/commitdiff
Bugfix, use we need logical, not bitwise, or
authorMichael Andreen <harv@ruin.nu>
Wed, 13 Aug 2008 09:14:34 +0000 (11:14 +0200)
committerMichael Andreen <harv@ruin.nu>
Wed, 13 Aug 2008 09:14:34 +0000 (11:14 +0200)
PA.pm

diff --git a/PA.pm b/PA.pm
index afc5b05861801cfec845aeb7060d4027f26c2368..7a4a4b81e1c98c91971e6f746d23b22a895fa874 100644 (file)
--- a/PA.pm
+++ b/PA.pm
@@ -54,7 +54,7 @@ sub checkPlanet {
                        $planet->{$_} = valuecolor(1,$planet->{$_});
                }
                my $ally = "";
-               if (officer() || ia() || dc() | intel()){
+               if (officer() || ia() || dc() || intel()){
                        $ally = "Alliance=$planet->{alliance} ($planet->{relationship}), Nick=$planet->{nick} ($planet->{planet_status}), Channel: $planet->{channel}, Hostile Count: $planet->{hit_us},";
                }
                $ND::server->command("notice $ND::nick $planet->{coords} $planet->{ruler} OF $planet->{planet},$ally Race=$planet->{race}, Score=$planet->{score} ($planet->{scorerank}), Size=$planet->{size} ($planet->{sizerank}), Value=$planet->{value} ($planet->{valuerank}), XP=$planet->{xp} ($planet->{xprank})");