From bdaf120460c0d0b6be3a037beebf3bc05d8746fe Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Tue, 3 Aug 2010 16:47:40 +0200 Subject: hangman: IRCify HTML in definitions --- data/rbot/plugins/games/hangman.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/rbot/plugins') 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 -- cgit v1.2.3