Small fix.

This commit is contained in:
lain 2018-03-31 21:11:46 +02:00
parent 94bbe1addc
commit 1b03981783
1 changed files with 1 additions and 1 deletions

View File

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