Weirdly, irssi sends the "ison" command in lower-case.

This commit is contained in:
Tony Garnock-Jones 2018-07-30 19:39:11 +01:00
parent cb351eee09
commit c564bd28ec
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@
(define (parse-command prefix line)
(match-define (pregexp #px"^([^ ]+)( +([^:]+)?(:(.*))?)?$" (list _ command _ params _ rest)) line)
(irc-message prefix
command
(string-upcase command)
(string-split (or params ""))
rest))