projects
/
euphorik.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a89d713
)
FIX gros bug puant
author
Greg Burri
<greg.burri@gmail.com>
Tue, 7 Oct 2008 12:48:40 +0000
(12:48 +0000)
committer
Greg Burri
<greg.burri@gmail.com>
Tue, 7 Oct 2008 12:48:40 +0000
(12:48 +0000)
modules/erl/euphorik_bd.erl
patch
|
blob
|
history
diff --git
a/modules/erl/euphorik_bd.erl
b/modules/erl/euphorik_bd.erl
index
4fecb73
..
7d5c79c
100755
(executable)
--- 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 ->
\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