From: Michael Andreen Date: Wed, 13 Aug 2008 09:14:34 +0000 (+0200) Subject: Bugfix, use we need logical, not bitwise, or X-Git-Url: https://ruin.nu/git/?a=commitdiff_plain;h=9893b39ce1525643c195908ae7faf62c47f567e9;p=NDIRC.git Bugfix, use we need logical, not bitwise, or --- diff --git a/PA.pm b/PA.pm index afc5b05..7a4a4b8 100644 --- 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})");