Bugfix: Flapping manifesto, leaving #2: only if not me

This commit is contained in:
Scott Lystig Fritchie 2015-08-30 00:50:23 +09:00
parent 4b83893047
commit 771164b82f

View file

@ -2368,7 +2368,9 @@ calculate_flaps(P_newprop, P_latest, _P_current, CurrentUp, _FlapLimit,
%% latest proj flapping & flapping last time
?REACT({calculate_flaps,?LINE,[]}),
false;
{0=Curtime, 0} when P_latest_LastStartTime /= undefined,
{0=Curtime, 0} when P_latest#projection_v1.author_server
/= MyName,
P_latest_LastStartTime /= undefined,
P_latest_LastStartTime /= ?NOT_FLAPPING_START ->
?REACT({calculate_flaps,?LINE,