diff --git a/include/relapp.cpp b/include/relapp.cpp index e2ae38d54..bbc3be4c6 100755 --- a/include/relapp.cpp +++ b/include/relapp.cpp @@ -830,13 +830,7 @@ bool TRelation_application::main_loop() if (autoins_caller().not_empty() && _recins >= 0) { - TString message(MSG_LN); - if (_edflag) - message = MSG_ED; - else - if (_lnflag) - message = MSG_LN; - TMessage msg(autoins_caller(), message, format("%ld", _recins)); + TMessage msg(autoins_caller(), _lnflag ? MSG_LN : MSG_AI, format("%ld", _recins)); msg.send(); } @@ -923,7 +917,6 @@ bool TRelation_application::filter() _autoins_caller = msg->from(); _lnflag = TRUE; - _edflag = TRUE; TAssoc_array field_values; const char * s;