remove .hello
parent
2b2f86d164
commit
6edfce6605
2
anna.scm
2
anna.scm
|
@ -73,8 +73,6 @@
|
|||
(cond
|
||||
((equal? (car data) "PING")
|
||||
(pong stream))
|
||||
((equal? ":.hello" (slist-ref data 3))
|
||||
(send-message stream +channel+ "hello, world"))
|
||||
((equal? ":.eval" (slist-ref data 3))
|
||||
(let* ((expr (string-concatenate (intersperse " " (cdr (member ":eval" data))))))
|
||||
(send-message stream +channel+ (eval (read (open-input-string expr))
|
||||
|
|
Loading…
Reference in New Issue