diff options
Diffstat (limited to 'lib/octochat/servers/echo.ex')
-rw-r--r-- | lib/octochat/servers/echo.ex | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/octochat/servers/echo.ex b/lib/octochat/servers/echo.ex index bea9864..b0bd515 100644 --- a/lib/octochat/servers/echo.ex +++ b/lib/octochat/servers/echo.ex @@ -16,6 +16,7 @@ defmodule Octochat.Echo do def handle_info({:tcp, _, msg}, state = %{socket: socket}) do msg + |> String.reverse() |> write_line!(socket) {:noreply, state} end |