Skip to content

Commit

Permalink
Allow nil/empty values in payload.
Browse files Browse the repository at this point in the history
  • Loading branch information
sanel committed Jun 15, 2016
1 parent ea72557 commit e86fa4e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion monroe.el
Original file line number Diff line number Diff line change
Expand Up @@ -158,7 +158,8 @@ starting with 'd' and ending with 'e'."
(concat "d"
(apply 'concat
(mapcar (lambda (str)
(format "%d:%s" (string-bytes str) str))
(let ((s (if str str "")))
(format "%d:%s" (string-bytes s) s)))
message))
"e"))

Expand Down

0 comments on commit e86fa4e

Please sign in to comment.