From 9893b39ce1525643c195908ae7faf62c47f567e9 Mon Sep 17 00:00:00 2001 From: Michael Andreen Date: Wed, 13 Aug 2008 11:14:34 +0200 Subject: [PATCH] Bugfix, use we need logical, not bitwise, or --- PA.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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})"); -- 2.39.2