Skip to content

Commit

Permalink
badmatch fix
Browse files Browse the repository at this point in the history
Signed-off-by: Alejandro M. Ramallo <[email protected]>
  • Loading branch information
aramallo committed Sep 18, 2023
1 parent 47f654b commit 8454f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/bondy/src/bondy_table_owner.erl
Original file line number Diff line number Diff line change
Expand Up @@ -222,7 +222,7 @@ handle_call({add_and_claim, Name, Opts0}, {From, _Tag}, St) ->
handle_call({add_or_claim, Name, Opts0}, {From, _Tag}, St) ->
case lookup(Name) of
{ok, Tab} ->
ok = do_give_away(Tab, From),
true = do_give_away(Tab, From),
{reply, {ok, Tab}, St};
error ->
Opts1 = set_heir(Opts0),
Expand Down

0 comments on commit 8454f1e

Please sign in to comment.