From 2ea2db37fd5f8f41272d6a80c5881ab56b49823c Mon Sep 17 00:00:00 2001 From: Neil Moore Date: Wed, 29 May 2013 09:19:16 -0500 Subject: Don't start monster query responses with !%@. etc. --- lib/Crawl/Bot/Plugin/Monster.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/Crawl/Bot/Plugin/Monster.pm b/lib/Crawl/Bot/Plugin/Monster.pm index 9918b8d..af8e0cd 100644 --- a/lib/Crawl/Bot/Plugin/Monster.pm +++ b/lib/Crawl/Bot/Plugin/Monster.pm @@ -40,6 +40,7 @@ sub get_monster_info { my $resp = ; CORE::close(F); + $resp =~ s/^([^\w\s])/_$1/; return $resp; } -- cgit v1.2.3-54-g00ecf