From 828daf607fdce322ea17c1786dff84f712aa1632 Mon Sep 17 00:00:00 2001 From: Greg Burri Date: Thu, 16 Jul 2009 18:11:47 +0000 Subject: [PATCH 1/1] REPORT branche 1.1 528->528 --- VERSION | 2 +- js/pageMinichat.js | 2 +- modules/erl/euphorik_protocole.erl | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index a700546..9fb5261 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.2.0a +1.2.0a \ No newline at end of file diff --git a/js/pageMinichat.js b/js/pageMinichat.js index aea8e2d..86c059e 100755 --- a/js/pageMinichat.js +++ b/js/pageMinichat.js @@ -260,7 +260,7 @@ euphorik.PageMinichat.prototype.envoyerMessage = function(message) { this.communication.requete( "put_message", - this.getJSONMessage(nick, message), + this.getJSONMessage(this.client.nick, message), function() { $("form#posterMessage input.message").val(""); thisPageMinichat.conversations.enleverMessagesRepond(); diff --git a/modules/erl/euphorik_protocole.erl b/modules/erl/euphorik_protocole.erl index a61d0c8..947a18b 100755 --- a/modules/erl/euphorik_protocole.erl +++ b/modules/erl/euphorik_protocole.erl @@ -103,7 +103,7 @@ loginUser(User, IP) -> generer_cookie() -> {A1, A2, A3} = now(), random:seed(A1, A2, A3), - erlang:integer_to_list(random:uniform(math:pow(10, 32)), 36). + erlang:integer_to_list(random:uniform(trunc(math:pow(10, 32))), 36). % Modification du profile. -- 2.43.0