misc fixes
git-svn-id: https://svn.code.sf.net/p/fteqw/code/trunk@5100 fc73d0e0-1445-4013-8a0c-d673dee63da5
This commit is contained in:
parent
1f729f4afd
commit
493d66b832
6 changed files with 32 additions and 12 deletions
|
@ -670,7 +670,7 @@ int IWebAuthorize(const char *name, const char *password)
|
|||
rankinfo_t info;
|
||||
if (!id)
|
||||
{
|
||||
if (!sv_readlevel.value && !*name || !stricmp(name, "anonymous"))
|
||||
if (!sv_readlevel.value && (!*name || !stricmp(name, "anonymous")))
|
||||
return IWEBACC_READ; //read only anywhere
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue