X-Git-Url: http://git.euphorik.ch/?a=blobdiff_plain;f=modules%2Finclude%2Feuphorik_defines.hrl;h=b8a5b38a9d285fef6b778f976018bda7b330f8e3;hb=761de1b3602d40769579f9b0fee7eb70b39d2818;hp=03c7ff1f0b2c7082db418a264e7c98dd1a234af4;hpb=221a44d7aeaf467ef9854fe21af93bc964e92ef1;p=euphorik.git diff --git a/modules/include/euphorik_defines.hrl b/modules/include/euphorik_defines.hrl index 03c7ff1..b8a5b38 100755 --- a/modules/include/euphorik_defines.hrl +++ b/modules/include/euphorik_defines.hrl @@ -1,4 +1,26 @@ - +% Copyright 2008 Grégory Burri +% +% This file is part of Euphorik. +% +% Euphorik is free software: you can redistribute it and/or modify +% it under the terms of the GNU General Public License as published by +% the Free Software Foundation, either version 3 of the License, or +% (at your option) any later version. +% +% Euphorik is distributed in the hope that it will be useful, +% but WITHOUT ANY WARRANTY; without even the implied warranty of +% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +% GNU General Public License for more details. +% +% You should have received a copy of the GNU General Public License +% along with Euphorik. If not, see . + +% Version de la BD +-define(VERSION_BD, 1). + +% Le temps d'attente après une erreur de login (mauvais login/pass) : une demie seconde +% Permet d'éviter (limiter) les attaques par dictionnaire +-define(TEMPS_ATTENTE_ERREUR_LOGIN, 500). % ms % Un message est considéré comme du spam s'il est posté 1 seconde ou moins après le dernier posté -define(DUREE_SPAM, 1000). % ms @@ -24,4 +46,4 @@ % Le jour ainsi que l'heure à laquelle est élu un nouveau troll (lundi à 3 heure du mat) -define(JOUR_ELECTION_TROLL, 1). % 1 = lundi --define(HEURE_ELECTION_TROLL, 3). % 3 heure du matin \ No newline at end of file +-define(HEURE_ELECTION_TROLL, 3). % 3 heure du matin