aboutsummaryrefslogtreecommitdiffstats
path: root/server/client.erl
diff options
context:
space:
mode:
Diffstat (limited to 'server/client.erl')
-rw-r--r--server/client.erl11
1 files changed, 1 insertions, 10 deletions
diff --git a/server/client.erl b/server/client.erl
index c5beda7..3f9ece2 100644
--- a/server/client.erl
+++ b/server/client.erl
@@ -1,5 +1,5 @@
-module(client).
--export([start/2, loop/2, register/2, login/2]).
+-export([start/2, loop/2]).
start(Node, User) ->
%% start linked processes on client and server to get noticed if
@@ -68,12 +68,3 @@ loop(Client, User) ->
Client ! {error, {unknown_command, Cmd}}
end,
loop(Client, User).
-
-register(Client, {Name, Password}) ->
- %% forward the register messages to the dispatcher (if user is not
- %% logged in)
- dis ! {Client, {register, {Name, Password}}}.
-
-login(Client, {Node, Name, Password}) ->
- %% forward the login messages to the dispatcher
- dis ! {Client, {login, {Node, Name, Password}}}.