Small fix.

This commit is contained in:
lain 2018-03-31 21:11:46 +02:00
parent 94bbe1addc
commit 1b03981783

View file

@ -50,7 +50,7 @@ def init(ref, socket, transport, _Opts = []) do
end
def info(text) do
text = String.replace(text, ~r/[\t\n]/, " ")
text = String.replace(text, ~r/[\t\n]/, "")
String.split(text, "\r")
|> Enum.map(fn (text) ->
"i#{text}\tfake\(NULL)\t0\r\n"