summaryrefslogtreecommitdiff
path: root/src/config.lisp
diff options
context:
space:
mode:
authorGravatar Uko Kokņevičs2025-10-19 08:50:52 +0300
committerGravatar Uko Kokņevičs2025-10-19 08:50:52 +0300
commit6c4a545b30c601047091ac9439741ba52a3334d2 (patch)
treea15c33b47c7e3401603f84b200fbb71f203bb26f /src/config.lisp
parentIntroduce locking in config (diff)
downloadukkoclot-6c4a545b30c601047091ac9439741ba52a3334d2.tar.gz
ukkoclot-6c4a545b30c601047091ac9439741ba52a3334d2.tar.xz
ukkoclot-6c4a545b30c601047091ac9439741ba52a3334d2.zip
Make state be a global special variable
Diffstat (limited to 'src/config.lisp')
-rw-r--r--src/config.lisp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/config.lisp b/src/config.lisp
index 7d841a2..1a139c1 100644
--- a/src/config.lisp
+++ b/src/config.lisp
@@ -20,7 +20,7 @@
20(in-package :ukkoclot/src/config) 20(in-package :ukkoclot/src/config)
21 21
22(defstruct config 22(defstruct config
23 (lock (make-rw-lock :name "config's lock") :type rw-lock) 23 (lock (make-rw-lock :name "config's lock") :type rw-lock :read-only t)
24 (bot-name "Ukko's Clot" :type string) 24 (bot-name "Ukko's Clot" :type string)
25 (bot-token "123456789:ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghi" :type string) 25 (bot-token "123456789:ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghi" :type string)
26 (db-path #P"./data.db" :type (or pathname string)) 26 (db-path #P"./data.db" :type (or pathname string))