diff --git a/src/egs_login_server.erl b/src/egs_login_server.erl index b8a72dc..053e72c 100644 --- a/src/egs_login_server.erl +++ b/src/egs_login_server.erl @@ -18,7 +18,7 @@ %% along with EGS. If not, see . -module(egs_login_server). --export([start_link/1, on_exit/1, init/1]). +-export([start_link/1, init/1]). -include("include/records.hrl"). @@ -28,11 +28,6 @@ start_link(Port) -> Pid = spawn(egs_network, listen, [Port, ?MODULE]), {ok, Pid}. -%% @spec on_exit(Pid) -> ok -%% @doc Nothing to do for the login server. -on_exit(_Pid) -> - ok. - %% @doc Initialize the game state and start receiving messages. init(Socket) -> State = #state{socket=Socket, gid=egs_accounts:tmp_gid()},