summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/Crawl/Bot/Plugin/Monster.pm2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Crawl/Bot/Plugin/Monster.pm b/lib/Crawl/Bot/Plugin/Monster.pm
index 8b917fe..ee6c971 100644
--- a/lib/Crawl/Bot/Plugin/Monster.pm
+++ b/lib/Crawl/Bot/Plugin/Monster.pm
@@ -29,7 +29,7 @@ sub get_monster_info {
CORE::open(F, "-|", "bin/monster-trunk", $monster) or return undef;
local $/ = undef;
my $resp = <F>;
- CORE::close(F) or return undef;
+ CORE::close(F);
return $resp;
}