diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-08-03 16:47:40 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2010-08-03 16:47:40 +0200 |
commit | bdaf120460c0d0b6be3a037beebf3bc05d8746fe (patch) | |
tree | 1b37bbb0a70d4a3ebc4d1e9ff6a2568371eacc40 /data/rbot/plugins/games | |
parent | f6a26a41095dc936fc2a944f7b726cd31011e878 (diff) |
hangman: IRCify HTML in definitions
Diffstat (limited to 'data/rbot/plugins/games')
-rw-r--r-- | data/rbot/plugins/games/hangman.rb | 2 |
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 |