aboutsummaryrefslogtreecommitdiffstats
path: root/server
diff options
context:
space:
mode:
authorMichael Wittig <michael.wittig@fu-berlin.de>2010-10-14 20:32:21 +0200
committerMichael Wittig <michael.wittig@fu-berlin.de>2010-10-14 20:32:21 +0200
commitf12f458f6a15704e1028445368e7d0a599279f97 (patch)
tree371e3288d6731997c22858a236797b38b9f78705 /server
parent2a52f8a236794a2cf3022c43aabb41e7124bad65 (diff)
downloaderlang-f12f458f6a15704e1028445368e7d0a599279f97.tar.gz
erlang-f12f458f6a15704e1028445368e7d0a599279f97.tar.xz
erlang-f12f458f6a15704e1028445368e7d0a599279f97.zip
fixed the votes_countup, now rdy to present
Diffstat (limited to 'server')
-rw-r--r--server/cldb.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/cldb.erl b/server/cldb.erl
index f6c7821..d1daaa9 100644
--- a/server/cldb.erl
+++ b/server/cldb.erl
@@ -63,7 +63,7 @@ decVote(User) ->
incVote(User) ->
F = fun() ->
- [Head|_] = ask(User, '_'),
+ {atomic, [Head|_]} = ask(User, '_'),
Votes = Head#user.votes + 1,
New = Head#user{votes = Votes},
mnesia:write(New)