From: Greg Burri Date: Tue, 7 Oct 2008 12:48:40 +0000 (+0000) Subject: FIX gros bug puant X-Git-Tag: 1.1.3~8 X-Git-Url: https://git.euphorik.ch/?a=commitdiff_plain;h=75cd78e0253509fad9c3cbfadda4a1c193c2b6e0;p=euphorik.git FIX gros bug puant --- diff --git a/modules/erl/euphorik_bd.erl b/modules/erl/euphorik_bd.erl index 4fecb73..7d5c79c 100755 --- a/modules/erl/euphorik_bd.erl +++ b/modules/erl/euphorik_bd.erl @@ -715,7 +715,7 @@ put_troll(User_id, Content) -> Nb_troll_poste_total >= ?NB_MAX_TROLL_WAITING -> max_troll_reached; true -> - Id = nouvel_id(minichat), + Id = nouvel_id(troll), mnesia:write(#troll{id = Id, id_user = User_id, date_create = now(), content = Content}), Id end;