From ad4317c01095675546e5d907a917168d82a0580e Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sun, 26 Aug 2007 15:13:48 +0000 Subject: Call 'super' method from #cleanup() in all plugins --- data/rbot/plugins/games/shiritori.rb | 1 + data/rbot/plugins/httpd.rb.disabled | 1 + data/rbot/plugins/quotes.rb | 1 + data/rbot/plugins/remind.rb | 1 + data/rbot/plugins/rss.rb | 1 + data/rbot/plugins/unicode.rb | 1 + 6 files changed, 6 insertions(+) diff --git a/data/rbot/plugins/games/shiritori.rb b/data/rbot/plugins/games/shiritori.rb index 590e990d..011cb28c 100644 --- a/data/rbot/plugins/games/shiritori.rb +++ b/data/rbot/plugins/games/shiritori.rb @@ -454,6 +454,7 @@ class ShiritoriPlugin < Plugin def cleanup @games.each_key {|g| g.die} @games.clear + super end end diff --git a/data/rbot/plugins/httpd.rb.disabled b/data/rbot/plugins/httpd.rb.disabled index 92fe3a80..ccfb42e2 100644 --- a/data/rbot/plugins/httpd.rb.disabled +++ b/data/rbot/plugins/httpd.rb.disabled @@ -23,6 +23,7 @@ class HttpPlugin < Plugin end def cleanup @http_server.shutdown + super end def help(plugin, topic="") "no help yet" diff --git a/data/rbot/plugins/quotes.rb b/data/rbot/plugins/quotes.rb index 2d9bedcd..73f1b9e7 100644 --- a/data/rbot/plugins/quotes.rb +++ b/data/rbot/plugins/quotes.rb @@ -53,6 +53,7 @@ class QuotePlugin < Plugin def cleanup @lists.clear @changed.clear + super end def addquote(source, channel, quote) diff --git a/data/rbot/plugins/remind.rb b/data/rbot/plugins/remind.rb index 6ce179c4..0d6e9ecc 100644 --- a/data/rbot/plugins/remind.rb +++ b/data/rbot/plugins/remind.rb @@ -112,6 +112,7 @@ class RemindPlugin < Plugin } } @reminders.clear + super end def help(plugin, topic="") "reminder plugin: remind [about] in