]> git.pond.sub.org Git - empserver/commit - src/lib/commands/rea.c
wire: Fix announcement rejection for and from deities
authorMarkus Armbruster <armbru@pond.sub.org>
Mon, 31 Oct 2016 09:56:24 +0000 (10:56 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Sun, 6 Aug 2017 18:09:21 +0000 (20:09 +0200)
commit7878e4131f90211570e17df53025a36871d12329
tree793606cc18a2f5ac0cb3a38c2334d36e9f967f1f
parent36fa303f492e7a79d33c795e5f5800b2e5e46c69
wire: Fix announcement rejection for and from deities

Announcement rejection is completely broken for deities.
Additionally, deity announcements aren't exempted from rejection, but
that should not normally matter, because the reject command doesn't
let you reject deities.

Broken when announcements were separated from telegrams in Empire 3.
Fix to test the sender's instead of the player's divinity.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/lib/commands/rea.c