Use *init* and *cleanup* in existing actors.
[8sync.git] / demos / ircbot.scm
index c1c573e08ac24983ddda378c9cde95fc08605633..6f32d61de746f07f3db3240d7f6144ec96ad06eb 100755 (executable)
      (repl
       (bootstrap-actor* hive <repl-manager> "repl"))))
 
-  (define initial-messages
-    (if repl
-        (list (bootstrap-message hive irc-bot 'init)
-              (bootstrap-message hive repl-manager 'init))
-        (list (bootstrap-message hive irc-bot 'init))))
-
   ;; TODO: load REPL
-  (run-hive hive initial-messages))
+  (run-hive hive '()))
 
 (define (main args)
   (define parsed-args (parse-args "ircbot.scm" args))