From 922c6a35bb34598da397d2a0078adc397e84a853 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Thu, 13 Sep 2007 00:14:53 +0000 Subject: more rdoc-ification --- data/rbot/plugins/rss.rb | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'data/rbot/plugins') diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb index 5a87e789..5e7eff21 100644 --- a/data/rbot/plugins/rss.rb +++ b/data/rbot/plugins/rss.rb @@ -283,15 +283,15 @@ class RSSFeedsPlugin < Plugin # the restore to work. # # This is actually pretty safe for a number of reasons: - # * the code is only called if standard marshalling fails - # * the string we look for is quite unlikely to appear randomly - # * if the string appears somewhere and the patched string isn't recoverable - # either, we'll get another (unrecoverable) error, which makes the rss - # plugin unsable, just like it was if no recovery was attempted - # * if the string appears somewhere and the patched string is recoverable, - # we may get a b0rked feed, which is eventually overwritten by a clean - # one, so the worst thing that can happen is that a feed update spams - # the watchers once + # * the code is only called if standard marshalling fails + # * the string we look for is quite unlikely to appear randomly + # * if the string appears somewhere and the patched string isn't recoverable + # either, we'll get another (unrecoverable) error, which makes the rss + # plugin unsable, just like it was if no recovery was attempted + # * if the string appears somewhere and the patched string is recoverable, + # we may get a b0rked feed, which is eventually overwritten by a clean + # one, so the worst thing that can happen is that a feed update spams + # the watchers once @registry.recovery = Proc.new { |val| patched = val.sub(":\v@mutexo:\nMutex", ":\v@mutexo:\vObject") ret = Marshal.restore(patched) -- cgit v1.2.3