diff --git a/src/lib/commands/flash.c b/src/lib/commands/flash.c index 87c244a8..ffd0fb8d 100644 --- a/src/lib/commands/flash.c +++ b/src/lib/commands/flash.c @@ -140,7 +140,8 @@ sendmessage(struct natstr *to, char *message, int verbose) wto = getnatp(other->cnum); if (CANT_HAPPEN(!wto)) continue; - if (!player->god && getrel(wto, player->cnum) != ALLIED) + if (!player->god + && relations_with(other->cnum, player->cnum) != ALLIED) continue; } if (!player->god && !(wto->nat_flags & NF_FLASH)) {