summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-12-24 14:02:31 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-12-24 14:02:31 +0000
commita42a664fe57ed78c2117cbbb66b5ab2135c22b61 (patch)
treeb34450e67a34af1f29fbffb7ea05c16363bf959f
parent9a565bfd48c59ac9c1b37d5afe9b8640889632ff (diff)
factoids plugin: split facts output at the -- joiner
-rw-r--r--data/rbot/plugins/factoids.rb2
1 files changed, 1 insertions, 1 deletions
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