summaryrefslogtreecommitdiff
path: root/data/rbot/plugins/factoids.rb
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-02-17 22:12:15 +0100
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-02-17 22:12:15 +0100
commit4d622f38dc37b5f7777f9911dfc4fd0d45f5e188 (patch)
treee1803195ca87e0a1b7f82c71ef5eb4fe6d12657c /data/rbot/plugins/factoids.rb
parent4d7284bd7742fd4937d648e2f0a150857258e2c7 (diff)
factoids plugin: split correctly when displaying facts
Diffstat (limited to 'data/rbot/plugins/factoids.rb')
-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 cba09b98..aeb6557f 100644
--- a/data/rbot/plugins/factoids.rb
+++ b/data/rbot/plugins/factoids.rb
@@ -366,7 +366,7 @@ class FactoidsPlugin < Plugin
reply << short_fact(f)
}
end
- m.reply reply.join(". "), :split_at => /\s+--\s+/
+ m.reply reply.join(". "), :split_at => /\[\d+\/\d+\] /, :purge_split => false
end
end