Don't cleanup newly-added room directories
This commit is contained in:
parent
a826b9a829
commit
0798982f76
|
@ -21,7 +21,6 @@
|
||||||
(chicken base) (chicken condition) (chicken file) (chicken io)
|
(chicken base) (chicken condition) (chicken file) (chicken io)
|
||||||
(chicken pathname)
|
(chicken pathname)
|
||||||
srfi-1
|
srfi-1
|
||||||
(prefix chatdir chatdir:)
|
|
||||||
(prefix inotify inotify:))
|
(prefix inotify inotify:))
|
||||||
|
|
||||||
|
|
||||||
|
@ -122,7 +121,6 @@
|
||||||
(define (join-channel root-dir callbacks-alist channel)
|
(define (join-channel root-dir callbacks-alist channel)
|
||||||
(let* ([in-path (subpath root-dir channel ".in")]
|
(let* ([in-path (subpath root-dir channel ".in")]
|
||||||
[join-callback (alist-ref 'join-channel callbacks-alist)])
|
[join-callback (alist-ref 'join-channel callbacks-alist)])
|
||||||
(chatdir:channel-add! root-dir channel)
|
|
||||||
(if join-callback
|
(if join-callback
|
||||||
(begin
|
(begin
|
||||||
(apply join-callback (list channel))
|
(apply join-callback (list channel))
|
||||||
|
|
Reference in New Issue