summaryrefslogtreecommitdiff
path: root/data/rbot/plugins
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-08-03 16:47:40 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2010-08-03 16:47:40 +0200
commitbdaf120460c0d0b6be3a037beebf3bc05d8746fe (patch)
tree1b37bbb0a70d4a3ebc4d1e9ff6a2568371eacc40 /data/rbot/plugins
parentf6a26a41095dc936fc2a944f7b726cd31011e878 (diff)
hangman: IRCify HTML in definitions
Diffstat (limited to 'data/rbot/plugins')
-rw-r--r--data/rbot/plugins/games/hangman.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/games/hangman.rb b/data/rbot/plugins/games/hangman.rb
index d3c4d20a..b7db886e 100644
--- a/data/rbot/plugins/games/hangman.rb
+++ b/data/rbot/plugins/games/hangman.rb
@@ -28,7 +28,7 @@ module Google
def self.define(phrase)
raw = Net::HTTP.get(URI.parse(URL+CGI.escape(phrase)))
- res = raw.scan(REGEX).flatten.map { |e| e.strip }
+ res = raw.scan(REGEX).flatten.map { |e| e.ircify_html }
res.empty? ? false : res.last
end