From a42a664fe57ed78c2117cbbb66b5ab2135c22b61 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Mon, 24 Dec 2007 14:02:31 +0000 Subject: factoids plugin: split facts output at the -- joiner --- data/rbot/plugins/factoids.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/rbot/plugins') diff --git a/data/rbot/plugins/factoids.rb b/data/rbot/plugins/factoids.rb index 59a38aba..da437c84 100644 --- a/data/rbot/plugins/factoids.rb +++ b/data/rbot/plugins/factoids.rb @@ -319,7 +319,7 @@ class FactoidsPlugin < Plugin reply << long_fact(f) } end - m.reply reply.join(" -- ") + m.reply reply.join(" -- "), :split_at => /\s+--\s+/ end end -- cgit v1.2.3