From 8cb83e01497d93dbef96b59622864aeb63720c21 Mon Sep 17 00:00:00 2001 From: plugd Date: Thu, 15 Jul 2021 15:13:56 +0200 Subject: [PATCH] Fixed bug in msg param count check. --- lurk.el | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lurk.el b/lurk.el index 2a1bf3b..5b62ce7 100644 --- a/lurk.el +++ b/lurk.el @@ -976,7 +976,7 @@ in which case they match anything.") (lurk-display-notice nil "No current channel."))) (defun lurk-command-msg (params) - (if (and params (>= 2 (length params))) + (if (and params (>= (length params) 2)) (let ((to (car params)) (text (string-join (cdr params) " "))) (lurk-send-msg (lurk-msg nil nil "PRIVMSG" to text)) -- 2.20.1