From 95b5365dd791e7ea169208949cee821d3b293d14 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 23 May 2007 19:24:54 +0000 Subject: search plugin: truncate overlong lines when outputting first par in compact form --- data/rbot/plugins/search.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data') 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 -- cgit v1.2.3