Bug fix.
[botbot.git] / botbot.scm
index 85a5ca9..eb9c078 100644 (file)
@@ -68,7 +68,7 @@
    (lambda ()
      (let loop ()
        (thread-sleep! ping-period)
-       (write-msg `(#f #f "PING" (,bot-host)) out-port) ; send ping
+       (write-msg `(#f #f "PING" (,irc-host)) out-port) ; send ping
        (loop)))))
 
 (define (bot-loop in-port out-port)