FIX gros bug puant
authorGreg Burri <greg.burri@gmail.com>
Tue, 7 Oct 2008 12:48:40 +0000 (12:48 +0000)
committerGreg Burri <greg.burri@gmail.com>
Tue, 7 Oct 2008 12:48:40 +0000 (12:48 +0000)
modules/erl/euphorik_bd.erl

index 4fecb73..7d5c79c 100755 (executable)
@@ -715,7 +715,7 @@ put_troll(User_id, Content) ->
                   Nb_troll_poste_total >= ?NB_MAX_TROLL_WAITING ->\r
                      max_troll_reached;\r
                   true ->\r
                   Nb_troll_poste_total >= ?NB_MAX_TROLL_WAITING ->\r
                      max_troll_reached;\r
                   true ->\r
-                     Id = nouvel_id(minichat),\r
+                     Id = nouvel_id(troll),\r
                      mnesia:write(#troll{id = Id, id_user = User_id, date_create = now(), content = Content}),\r
                      Id\r
                end;\r
                      mnesia:write(#troll{id = Id, id_user = User_id, date_create = now(), content = Content}),\r
                      Id\r
                end;\r