summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/games/hangman.rb
diff options
context:
space:
mode:
Diffstat (limited to 'data/rbot/plugins/games/hangman.rb')
-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