projects
/
8sync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Use *init* and *cleanup* in existing actors.
[8sync.git]
/
demos
/
ircbot.scm
diff --git
a/demos/ircbot.scm
b/demos/ircbot.scm
index c1c573e08ac24983ddda378c9cde95fc08605633..6f32d61de746f07f3db3240d7f6144ec96ad06eb 100755
(executable)
--- a/
demos/ircbot.scm
+++ b/
demos/ircbot.scm
@@
-116,14
+116,8
@@
(repl
(bootstrap-actor* hive <repl-manager> "repl"))))
(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
;; TODO: load REPL
- (run-hive hive
initial-messages
))
+ (run-hive hive
'()
))
(define (main args)
(define parsed-args (parse-args "ircbot.scm" args))
(define (main args)
(define parsed-args (parse-args "ircbot.scm" args))