aboutsummaryrefslogtreecommitdiffstats
path: root/client/client.erl
diff options
context:
space:
mode:
Diffstat (limited to 'client/client.erl')
-rw-r--r--client/client.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/client.erl b/client/client.erl
index 97f0735..43dbfc6 100644
--- a/client/client.erl
+++ b/client/client.erl
@@ -16,8 +16,8 @@ buildNode(Server) ->
list_to_atom("distributed_music_system_main_node@" ++ Server).
rpc(Server, Function, Params) ->
- rpc:call(buildNode(Server), client, Function, Params).
%% shortcut for calling a function from the server
+ rpc:call(buildNode(Server), dispatcher, Function, Params).
register(Server, Name, Password) ->
%% check if client is not logged in (if client is logged in,