From 228c591cff3e7c7790f508cc2571d053ea008eea Mon Sep 17 00:00:00 2001 From: Jaidyn Ann <10477760+JadedCtrl@users.noreply.github.com> Date: Sat, 20 May 2023 07:13:40 -0500 Subject: [PATCH] Remove more irc-chatd functions --- chatdir.scm | 25 ------------------------- 1 file changed, 25 deletions(-) diff --git a/chatdir.scm b/chatdir.scm index 703af37..89b9c89 100644 --- a/chatdir.scm +++ b/chatdir.scm @@ -50,31 +50,6 @@ (remove-watch! watch))) -;; Returns the path of a room's directory -(define (channel-directory-path conn channel) - (let ([dir (hash-table-ref conn 'directory)]) - (if (and (string? dir) (string? channel)) - (string-append dir "/" channel "/")))) - - -;; Returns the .users/ path of a channel -(define (channel-users-directory-path conn channel) - (string-append (channel-directory-path conn channel) - ".users/")) - - -;; Main directory path of the given user -(define (channel-user-directory-path conn channel hostmask #!optional (state "all")) - (string-append (channel-users-directory-path conn channel) - state "/" (irc:hostmask-nick hostmask))) - - -;; Main directory path of the given user -(define (user-directory-path conn channel hostmask) - (string-append (channel-users-directory-path conn channel) - "all/" hostmask)) - - ;; Tidies up a channel directory: Removes `online` and `offline` user links. (define (channel-cleanup! root channel) (let ([users-dir (subpath root channel ".users")])