]> git.netwichtig.de Git - user/henk/code/ruby/rbot.git/blobdiff - lib/rbot/ircbot.rb
oops bug
[user/henk/code/ruby/rbot.git] / lib / rbot / ircbot.rb
index 271d0d70ea358d9590872fed932c377bfa37b119..b36cd36ded25a65ae74fd798ec7094c32939c615 100644 (file)
@@ -329,8 +329,8 @@ class IrcBot
   def mainloop
     while true
       begin
-      connect
-      @timer.start
+        connect
+        @timer.start
       
         while true
           if @socket.select
@@ -497,7 +497,6 @@ class IrcBot
 
   # call the save method for bot's config, keywords, auth and all plugins
   def save
-    @registry.flush
     @config.save
     @keywords.save
     @auth.save