From 344c53481265cac069446d70fc5c1d7230b6520a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Lo=C3=AFc=20Hoguin?= Date: Mon, 21 Feb 2011 00:37:15 +0100 Subject: [PATCH] egs_login_server: Remove the unused on_exit/1. --- src/egs_login_server.erl | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) 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()},