diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-08-26 15:13:48 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2007-08-26 15:13:48 +0000 |
commit | ad4317c01095675546e5d907a917168d82a0580e (patch) | |
tree | caaa2de2c5c8fde1ff61f5385377fb1f0866d8e1 /data/rbot | |
parent | 901c1684235a22a5f747dd780c3bd1ab3e3114a3 (diff) |
Call 'super' method from #cleanup() in all plugins
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/games/shiritori.rb | 1 | ||||
-rw-r--r-- | data/rbot/plugins/httpd.rb.disabled | 1 | ||||
-rw-r--r-- | data/rbot/plugins/quotes.rb | 1 | ||||
-rw-r--r-- | data/rbot/plugins/remind.rb | 1 | ||||
-rw-r--r-- | data/rbot/plugins/rss.rb | 1 | ||||
-rw-r--r-- | data/rbot/plugins/unicode.rb | 1 |
6 files changed, 6 insertions, 0 deletions
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 <who> [about] <message> in <time>, remind <who> [about] <message> every <time>, remind <who> [about] <message> at <time>, remind <who> no more [about] <message>, remind <who> no more. Generally <who> should be 'me', but you can remind others (nick or channel) if you have remind_others auth" diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb index 094b4571..905daad8 100644 --- a/data/rbot/plugins/rss.rb +++ b/data/rbot/plugins/rss.rb @@ -319,6 +319,7 @@ class RSSFeedsPlugin < Plugin def cleanup
stop_watches
+ super
end
def save
diff --git a/data/rbot/plugins/unicode.rb b/data/rbot/plugins/unicode.rb index 3c0cd396..e05f87dd 100644 --- a/data/rbot/plugins/unicode.rb +++ b/data/rbot/plugins/unicode.rb @@ -75,6 +75,7 @@ class UnicodePlugin < Plugin debug "cleaning up encodings" @bot.socket.filter = nil $KCODE = @old_kcode + super end def UnicodePlugin.reconfigure_filter(bot) |