aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
Diffstat (limited to 'server')
-rw-r--r--server/cldb.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/server/cldb.erl b/server/cldb.erl
index d81755f..4303065 100644
--- a/server/cldb.erl
+++ b/server/cldb.erl
@@ -69,7 +69,7 @@ login(User, Pwd) when is_list(User) and is_list(Pwd) ->
{atomic, Why} ->
{error, Why}
end;
- _ -> {error, allready_logged_in}
+ _ -> {error, already_logged_in}
end;
_-> {error}
@@ -175,7 +175,7 @@ update_votes() ->
_ -> error
end.
-%% Increment the votes of every user.
+%% Increment the votes of every user.
%% This is called when a song has ended.
give_votes([User|Rest]) ->
inc_vote(User#user.name),