Skip to content

Commit

Permalink
Fixed state quoting bug (#71).
Browse files Browse the repository at this point in the history
  • Loading branch information
oubiwann committed Jan 2, 2023
1 parent 79ed128 commit af811f1
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions priv/templates/server.lfe.tpl
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@

(defun handle_call
(('stop _from state)
`#(stop shutdown ok state))
`#(stop shutdown ok ,state))
((`#(echo ,msg) _from state)
`#(reply ,msg state))
`#(reply ,msg ,state))
((message _from state)
`#(reply ,(unknown-command) ,state)))

Expand Down

0 comments on commit af811f1

Please sign in to comment.