]> git.pond.sub.org Git - empserver/blobdiff - src/lib/commands/decl.c
Use relations_with() for getrel(NP, THEM) where NP isn't THEM
[empserver] / src / lib / commands / decl.c
index 40190b2920ee447d43dd9d956c33f5d3d837bd3c..fca20c4fa7111a1aea18045e2bd713a006c84eec 100644 (file)
@@ -93,7 +93,7 @@ decl(void)
                continue;
            }
        }
-       if (getrel(natp, (natid)ni.cur) == rel)
+       if (relations_with(who, (natid)ni.cur) == rel)
            continue;
        setrel(who, (natid)ni.cur, rel);
     }