diff options
author | Neil Moore <neil@s-z.org> | 2013-05-29 09:19:16 -0500 |
---|---|---|
committer | Neil Moore <neil@s-z.org> | 2013-05-29 09:19:16 -0500 |
commit | 2ea2db37fd5f8f41272d6a80c5881ab56b49823c (patch) | |
tree | 43e1cc10c5397a30cc0c089c81b14f538b4b88e2 | |
parent | e173298f94633a67a972ac80a508c4d2a66b767f (diff) | |
download | crawlbot-2ea2db37fd5f8f41272d6a80c5881ab56b49823c.tar.gz crawlbot-2ea2db37fd5f8f41272d6a80c5881ab56b49823c.zip |
Don't start monster query responses with !%@. etc.
-rw-r--r-- | lib/Crawl/Bot/Plugin/Monster.pm | 1 |
1 files changed, 1 insertions, 0 deletions
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 = <F>; CORE::close(F); + $resp =~ s/^([^\w\s])/_$1/; return $resp; } |