summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-08-27 20:17:56 +0000
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2007-08-27 20:17:56 +0000
commit5cffd61572c62cd84c9be9c9426e34611043d638 (patch)
tree2d80d20599efea17f44539fda7624e6821e7ffcc
parent6cc39542e60e4673328af88d37e67a3bd38dbb93 (diff)
Call 'super' from the correct place in httputil
-rw-r--r--lib/rbot/core/utils/httputil.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rbot/core/utils/httputil.rb b/lib/rbot/core/utils/httputil.rb
index 7a18a4cd..43c4f6dd 100644
--- a/lib/rbot/core/utils/httputil.rb
+++ b/lib/rbot/core/utils/httputil.rb
@@ -276,7 +276,6 @@ class HttpUtil
def cleanup
debug 'stopping http cache cleanup timer'
@bot.timer.remove(@timer)
- super
end
# if http_proxy_include or http_proxy_exclude are set, then examine the
@@ -589,6 +588,7 @@ class HttpUtilPlugin < CoreBotModule
debug 'shutting down httputil'
@bot.httputil.cleanup
@bot.httputil = nil
+ super
end
end