Added support for Signature if internet address is found either in from or to line

This commit is contained in:
Alexander S. Aganichev 2001-11-02 16:46:22 +00:00
parent bdd83bb103
commit 80a717f1c4

View File

@ -601,7 +601,7 @@ static void MakeMsg2(int& mode, int& status, int& forwstat, int& topline, GMsg*
else else
line->type = 0; line->type = 0;
strtrimline(line->txt); strtrimline(line->txt);
if(AA->isinternet()) { if(AA->isinternet() or *msg->ito or *msg->ifrom) {
// Check for signature indicator // Check for signature indicator
if(streql(line->txt.c_str(), "--")) { if(streql(line->txt.c_str(), "--")) {
line->txt = "-- "; line->txt = "-- ";