Skip to content

Commit

Permalink
📝 Update documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
ImNotAVirus committed Nov 14, 2019
1 parent 92d51b0 commit 37b5445
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions guides/introduction/getting-started.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,8 +118,8 @@ defmodule LoginServer.PacketProtocol do
separator: " "

# Just add a line feed before sending our packets to clients
@impl ElvenGard.Protocol
def encode(data, _client), do: data <> "\n"
@impl ElvenGard.Protocol.Textual
def textual_encode(data, _client), do: data <> "\n"

# Removes the trailing line feed and split packets with '\n' (one packet per line)
@impl ElvenGard.Protocol.Textual
Expand Down

0 comments on commit 37b5445

Please sign in to comment.