(opt_DEMANDUPDATE): Remove. Deities can use update_demandpolicy to
control demand updates.
This commit is contained in:
parent
d0e2834ca9
commit
6ca5e47f69
6 changed files with 30 additions and 31 deletions
|
@ -54,6 +54,7 @@
|
|||
#include "commands.h"
|
||||
#include "optlist.h"
|
||||
#include "server.h"
|
||||
#include "wantupd.h"
|
||||
|
||||
int
|
||||
zdon(void)
|
||||
|
@ -70,7 +71,7 @@ zdon(void)
|
|||
int dowant;
|
||||
char buf[1024];
|
||||
|
||||
if (!opt_DEMANDUPDATE) {
|
||||
if (update_demandpolicy != UDDEM_DISABLE) {
|
||||
pr("Demand updates are not enabled.\n");
|
||||
return RET_FAIL;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue