Closed praveenperera closed 5 years ago
I would like to create an IRC logger I would like to do something like this
hear ~r/.*/i, msg do save_to_db(msg) end
But if I do this write now each message causes the gen server to die because the hear macro does not end with an emote, reply and send
@praveenperera the responder just needs to return :ok.
:ok
Perfect that works @scrogson thanks!
I would like to create an IRC logger I would like to do something like this
But if I do this write now each message causes the gen server to die because the hear macro does not end with an emote, reply and send