]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - lib/rbot/plugins.rb
Permissions can now be set and reset correctly
[user/henk/code/ruby/rbot.git] / lib / rbot / plugins.rb
index b55fbe4a115d559b277a305571428225bc8f9a2e..848240cffcb5cd7fb7ddda0268c487082cda126a 100644 (file)
@@ -417,9 +417,7 @@ module Plugins
 
     # call the cleanup method for each active plugin
     def cleanup
-      @bot.save_mutex.synchronize do
-        delegate 'cleanup'
-      end
+      delegate 'cleanup'
       reset_botmodule_lists
     end