(may_play): Clarify deity login rejection message.
This commit is contained in:
parent
02ddee69fb
commit
f078ca4d0d
1 changed files with 2 additions and 1 deletions
|
@ -272,7 +272,8 @@ may_play(void)
|
|||
&& !strstr(privip, player->hostaddr)) {
|
||||
logerror("Deity login from untrusted host attempted by %s",
|
||||
praddr(player));
|
||||
pr_id(player, C_EXIT, "You're not a deity!\n");
|
||||
pr_id(player, C_EXIT,
|
||||
"Deity login only from IPs in econfig key privip!\n");
|
||||
return 0;
|
||||
}
|
||||
return 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue