comparison src/context.cpp @ 91:ca46fafc6621

dcc_to should not look at substitute mail_host
author carl
date Sun, 18 Sep 2005 10:46:31 -0700
parents 962a1f8f1d9f
children 505e77188317
comparison
equal deleted inserted replaced
90:962a1f8f1d9f 91:ca46fafc6621
966 me.add_to(have); 966 me.add_to(have);
967 dc.add_to(have, &me); 967 dc.add_to(have, &me);
968 } 968 }
969 } 969 }
970 } 970 }
971 else if (have == token_substitute) { 971 //else if (have == token_substitute) {
972 if (tok.next() == token_mailhost) { 972 // if (tok.next() == token_mailhost) {
973 have = tok.next(); 973 // have = tok.next();
974 if (keeping) { 974 // if (keeping) {
975 if (me.allow_env_to(have)) { 975 // if (me.allow_env_to(have)) {
976 me.add_to(have); 976 // me.add_to(have);
977 dc.add_to(have, &me); 977 // dc.add_to(have, &me);
978 } 978 // }
979 } 979 // }
980 } 980 // }
981 } 981 //}
982 tok.skipeol(); 982 tok.skipeol();
983 } 983 }
984 } 984 }
985 else if (me.allow_env_to(have)) { 985 else if (me.allow_env_to(have)) {
986 me.add_to(have); 986 me.add_to(have);