X-Git-Url: http://git.euphorik.ch/index.cgi?a=blobdiff_plain;f=modules%2Finclude%2Feuphorik_defines.hrl;h=2e2ba7c7eb7ce0770fe7b999dc1c6fe7533ff277;hb=f7bccb5ddcaca2c0beb71be02a41fb8e70fc09b5;hp=e9beafbd7aa9c3fdbdcf057dcfd889747154d67e;hpb=934ab32cd6fac44f6b3ebedef69ce1ccd0b8701b;p=euphorik.git diff --git a/modules/include/euphorik_defines.hrl b/modules/include/euphorik_defines.hrl index e9beafb..2e2ba7c 100755 --- a/modules/include/euphorik_defines.hrl +++ b/modules/include/euphorik_defines.hrl @@ -1,4 +1,23 @@ - +% 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 . + +% 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