actors: Implicit from-actor argument <-foo methods, and add rest of <-foo*.
[8sync.git] / 8sync / systems / irc.scm
index aad138d09bb62a9de32c5f6bfc1fa0614236040d..40d02eb6eb1a6a34c4464e43e25d7fb15c9fd9f5 100755 (executable)
      (format socket "JOIN ~a~a" channel irc-eol))
    (irc-bot-channels irc-bot))
 
-  (<- irc-bot (actor-id irc-bot) 'main-loop))
+  (<- (actor-id irc-bot) 'main-loop))
 
 (define (irc-bot-main-loop irc-bot message)
   (define socket (irc-bot-socket irc-bot))
    ;;  'done)
    ;; Otherwise, let's read till the next line!
    (else
-    (<- irc-bot (actor-id irc-bot) 'main-loop))))
+    (<- (actor-id irc-bot) 'main-loop))))
 
 (define* (irc-bot-send-line-action irc-bot message
                                    channel line #:key emote?)