Fix reject accept

Instead of accepting the listed nations, rejected the nation listed
last, and accepted all the others.  Broken in commit 6844c94b, v4.3.4.
This commit is contained in:
Markus Armbruster 2009-02-08 09:30:41 +01:00
parent 35ef345ecb
commit 6a1078f8a0

View file

@ -139,7 +139,7 @@ putreject(struct natstr *np, natid them, int how, int what)
if (how)
np->nat_rejects[them] |= what;
else
np->nat_rejects[them] &= what;
np->nat_rejects[them] &= ~what;
}
void