diff options
author | Alexander Sulfrian <alexander@sulfrian.net> | 2010-10-15 14:20:16 +0200 |
---|---|---|
committer | Alexander Sulfrian <alexander@sulfrian.net> | 2010-10-15 14:20:16 +0200 |
commit | 4b2a9c07cf3443426a63404797818d967cf0cd54 (patch) | |
tree | d2801ae8b9dd4c247c3b489e3adbaeb214da8ebc | |
parent | c775190e1b4d07777486e37bb21e61bb7f3ee690 (diff) | |
download | erlang-4b2a9c07cf3443426a63404797818d967cf0cd54.tar.gz erlang-4b2a9c07cf3443426a63404797818d967cf0cd54.tar.xz erlang-4b2a9c07cf3443426a63404797818d967cf0cd54.zip |
fix typo
-rw-r--r-- | server/cldb.erl | 4 |
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), |