aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexander Sulfrian <alexander@sulfrian.net>2010-10-15 14:20:16 +0200
committerAlexander Sulfrian <alexander@sulfrian.net>2010-10-15 14:20:16 +0200
commit4b2a9c07cf3443426a63404797818d967cf0cd54 (patch)
treed2801ae8b9dd4c247c3b489e3adbaeb214da8ebc
parentc775190e1b4d07777486e37bb21e61bb7f3ee690 (diff)
downloaderlang-4b2a9c07cf3443426a63404797818d967cf0cd54.tar.gz
erlang-4b2a9c07cf3443426a63404797818d967cf0cd54.tar.xz
erlang-4b2a9c07cf3443426a63404797818d967cf0cd54.zip
fix typo
-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),