diff options
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/bash.rb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/data/rbot/plugins/bash.rb b/data/rbot/plugins/bash.rb index 0524204a..6c12ce5e 100644 --- a/data/rbot/plugins/bash.rb +++ b/data/rbot/plugins/bash.rb @@ -98,6 +98,11 @@ class BashPlugin < Plugin end end + if not html + m.reply "unable to retrieve quotes" + return + end + html_quotes = html.split(/<p class="quote">/) html_quotes.each { |htqt| # debug htqt.inspect |