diff options
-rw-r--r-- | server/cldb.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/cldb.erl b/server/cldb.erl index 8d58fb4..b0a7a79 100644 --- a/server/cldb.erl +++ b/server/cldb.erl @@ -94,7 +94,7 @@ set_client_pid(User, Pid) -> %% Change the database to log out a user by PID logout(Pid) -> case find_user_by_pid(Pid) of - {atomic, [UserRow|_]} -> + {ok, [UserRow|_]} -> F = fun() -> New = UserRow#user{logged_in = false}, mnesia:write(New) |