summaryrefslogtreecommitdiff
path: root/src/main.lisp
diff options
context:
space:
mode:
authorGravatar Uko Kokņevičs2025-10-19 07:30:29 +0300
committerGravatar Uko Kokņevičs2025-10-19 07:30:29 +0300
commit232acc37b77d0662b6d062b8561c5ae49565c56b (patch)
tree7450d06b8fcf0e181d0350976b2fb981f3e0988d /src/main.lisp
parentAdd a read-write lock & a testsuite (diff)
downloadukkoclot-232acc37b77d0662b6d062b8561c5ae49565c56b.tar.gz
ukkoclot-232acc37b77d0662b6d062b8561c5ae49565c56b.tar.xz
ukkoclot-232acc37b77d0662b6d062b8561c5ae49565c56b.zip
Get rid of a couple warnings in main.lisp
Diffstat (limited to 'src/main.lisp')
-rw-r--r--src/main.lisp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.lisp b/src/main.lisp
index 07a486b..caef651 100644
--- a/src/main.lisp
+++ b/src/main.lisp
@@ -132,6 +132,7 @@
132 :allow-sending-without-reply t))) 132 :allow-sending-without-reply t)))
133 133
134(defun is-bad-text (text) 134(defun is-bad-text (text)
135 (declare (ignore text))
135 ;; TODO: 136 ;; TODO:
136 nil) 137 nil)
137 138
@@ -245,6 +246,7 @@
245 nil))))) 246 nil)))))
246 247
247(defun on-text-command (bot msg text cmd) 248(defun on-text-command (bot msg text cmd)
249 (declare (ignore text))
248 (let ((simple-cmd (simplify-cmd bot cmd))) 250 (let ((simple-cmd (simplify-cmd bot cmd)))
249 (log:debug "text-command: ~A AKA ~A" cmd simple-cmd) 251 (log:debug "text-command: ~A AKA ~A" cmd simple-cmd)
250 ;; TODO: Replace this cond with a nicer dispatch. Something like string-case? 252 ;; TODO: Replace this cond with a nicer dispatch. Something like string-case?