]> git.pond.sub.org Git - empserver/commitdiff
(agecontact): Remove the opt_LOSE_CONTACT, the calling
authorRon Koenderink <rkoenderink@yahoo.ca>
Fri, 18 Nov 2005 23:02:51 +0000 (23:02 +0000)
committerRon Koenderink <rkoenderink@yahoo.ca>
Fri, 18 Nov 2005 23:02:51 +0000 (23:02 +0000)
procedure update_main() already has opt_LOSE_CONTACT check.

src/lib/common/nat.c

index ef89833408a80cfbb55ccafb2bebf17c52cb93c3..bcd0775270f6e14d4dc248255732e1ff24ee7b18 100644 (file)
@@ -121,11 +121,9 @@ agecontact(struct natstr *np)
 {
     int them;
 
-    if (opt_LOSE_CONTACT) {
-       for (them = 1; them < MAXNOC; ++them) {
-           if (them != np->nat_cnum && np->nat_contact[them]) {
-               --np->nat_contact[them];
-           }
+    for (them = 1; them < MAXNOC; ++them) {
+       if (them != np->nat_cnum && np->nat_contact[them]) {
+           --np->nat_contact[them];
        }
     }
 }