summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-05-23 19:24:54 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-05-23 19:24:54 +0000
commit95b5365dd791e7ea169208949cee821d3b293d14 (patch)
treea04eb80c181cb0e5ae938bb220c1410ca4bdf9c4 /data/rbot
parentd8cc9bae30308fdaa767d2d4b9a070d1d5b6a2d5 (diff)
search plugin: truncate overlong lines when outputting first par in compact form
Diffstat (limited to 'data/rbot')
-rw-r--r--data/rbot/plugins/search.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/search.rb b/data/rbot/plugins/search.rb
index da6881f4..b8825bcb 100644
--- a/data/rbot/plugins/search.rb
+++ b/data/rbot/plugins/search.rb
@@ -91,7 +91,7 @@ class SearchPlugin < Plugin
# If we return a single, full result, change the output to a more compact representation
if single
- m.reply "Result for %s: %s -- %s" % [what, results, Utils.get_first_pars(urls, first_pars)]
+ m.reply "Result for %s: %s -- %s" % [what, results, Utils.get_first_pars(urls, first_pars)], :overlong => :truncate
return
end