]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/commitdiff
Call 'super' from the correct place in httputil
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 27 Aug 2007 20:17:56 +0000 (20:17 +0000)
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>
Mon, 27 Aug 2007 20:17:56 +0000 (20:17 +0000)
lib/rbot/core/utils/httputil.rb

index 7a18a4cda3279b48b3099585f901becc374bc2dd..43c4f6ddc710113930a1631add589237d7fad08d 100644 (file)
@@ -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