diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-02-17 22:12:15 +0100 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-02-17 22:12:15 +0100 |
commit | 4d622f38dc37b5f7777f9911dfc4fd0d45f5e188 (patch) | |
tree | e1803195ca87e0a1b7f82c71ef5eb4fe6d12657c /data/rbot | |
parent | 4d7284bd7742fd4937d648e2f0a150857258e2c7 (diff) |
factoids plugin: split correctly when displaying facts
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/factoids.rb | 2 |
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 |