projects
/
euphorik.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ADD un beau smile :F
[euphorik.git]
/
js
/
euphorik.js
diff --git
a/js/euphorik.js
b/js/euphorik.js
index
8518495
..
9bf96fb
100755
(executable)
--- a/
js/euphorik.js
+++ b/
js/euphorik.js
@@
-31,7
+31,7
@@
var conf = {
versionProtocole : 3, // version du protcole
nickDefaut : "<nick>",
var conf = {
versionProtocole : 3, // version du protcole
nickDefaut : "<nick>",
- nbMessageAffiche :
1
0, // (par page)
+ nbMessageAffiche :
6
0, // (par page)
pseudoDefaut : "<nick>",
tempsAffichageMessageDialogue : 4000, // en ms
tempsKick : 15, // en minute
pseudoDefaut : "<nick>",
tempsAffichageMessageDialogue : 4000, // en ms
tempsKick : 15, // en minute
@@
-43,6
+43,7
@@
var conf = {
"cool" : [/8\)/g, /8-\)/g],
"eheheh" : [/:P/g, /:-P/g],
"lol" : [/\[-lol\]/g],
"cool" : [/8\)/g, /8-\)/g],
"eheheh" : [/:P/g, /:-P/g],
"lol" : [/\[-lol\]/g],
+ "petrus" : [/:F/g],
"spliff" : [/\[-spliff\]/g],
"oh" : [/:o/g, /:O/g],
"heink" : [/\[-heink\]/g],
"spliff" : [/\[-spliff\]/g],
"oh" : [/:o/g, /:O/g],
"heink" : [/\[-heink\]/g],
@@
-845,7
+846,11
@@
Client.prototype.connexion = function(messageJson)
function(data)
{
if (data["reply"] == "error")
function(data)
{
if (data["reply"] == "error")
+ {
thisClient.util.messageDialogue(data["error_message"])
thisClient.util.messageDialogue(data["error_message"])
+ // suppression du cookie actuel, cas où le cookie du client ne permet pas une authentification
+ thisClient.delCookie()
+ }
else
thisClient.chargerDonnees(data)
}
else
thisClient.chargerDonnees(data)
}