From: plugd Date: Thu, 8 Jul 2021 17:29:50 +0000 (+0200) Subject: Fixed list command. X-Git-Url: https://thelambdalab.xyz/gitweb/index.cgi?a=commitdiff_plain;h=90276bec42fe4733cca2b20c48225a16ec9f4022;p=lurk.git Fixed list command. --- diff --git a/lurk.el b/lurk.el index 96b93ae..1043775 100644 --- a/lurk.el +++ b/lurk.el @@ -782,10 +782,10 @@ portion of the source component of the message, as LURK doesn't use this.") (setq lurk-nick nick) (lurk-display-notice nil "Set default nick to '" nick "'"))) - ((rx "LIST") + ((rx (: "LIST" (* whitespace) string-end)) (lurk-display-notice nil "This command can generate lots of output. Use `LIST -yes' if you're sure.")) - ((rx (: "LIST" (+ whitespace) "-YES")) + ((rx (: "LIST" (+ whitespace) "-YES" (* whitespace) string-end)) (lurk-send-msg (lurk-msg nil nil "LIST"))) ((rx "MSG "