X-Git-Url: http://git.euphorik.ch/?p=euphorik.git;a=blobdiff_plain;f=js%2Feuphorik.js;h=9bf96fb1f547da10daf8765d6348861cd916b4df;hp=851849587a593f9f64ce7ea99540cc1f177bcec7;hb=68e2e2bddfdb752e4a0cf0fc681388d3a90b80f5;hpb=e2fc8a1a3dd118b714a2ea55daf1829fa1b98649 diff --git a/js/euphorik.js b/js/euphorik.js index 8518495..9bf96fb 100755 --- a/js/euphorik.js +++ b/js/euphorik.js @@ -31,7 +31,7 @@ var conf = { versionProtocole : 3, // version du protcole nickDefaut : "", - nbMessageAffiche : 10, // (par page) + nbMessageAffiche : 60, // (par page) pseudoDefaut : "", 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], + "petrus" : [/:F/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") + { 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) }