r10646: updates
[irc-logger.git] / logger.lisp
index 065effa485c76bd7be8931ae2f7fa2b2bb336d36..b242f5a9f806480cc3e06a1e3f67aa8083ea3c31 100644 (file)
   (let ((end (- (length (trailing-argument msg)) 1)))
     ;; end has been as low as 7
     (when (< end 8)
-      (warn "End is less than 8: `$A'." msg))
+      (warn "End is less than 8: `~A'." msg))
     (output-event msg :action (first (arguments msg))
                  (subseq (trailing-argument msg) (min 8 end)
                          (- (length (trailing-argument msg)) 1)))))
   (add-private-log-entry nil "Calling create-logger [add-logger].~%")
   (let ((logger
         (do ((new-logger 
-              (mp:with-timeout (*timeout* nil)
+              (#-sbcl mp:with-timeout #-sbcl (*timeout* nil)
+               #+sbcl sb-ext:with-timeout #+sbcl *timeout*
                 (create-logger nick server :channels channels :output output
                                :logging-stream logging-stream :password password
                                :realname realname :username username
                                :unknown-log unknown-log 
                                :formats formats
                                :async async))
-              (mp:with-timeout (*timeout* nil)
+              (#-sbcl mp:with-timeout #-sbcl (*timeout* nil)
+               #+sbcl sb-ext:with-timeout #+sbcl *timeout*
                 (create-logger nick server :channels channels :output output
                                :logging-stream logging-stream :password password
                                :realname realname :username username