mirror of
https://github.com/tbamud/tbamud.git
synced 2026-03-16 01:06:33 +01:00
Cured who list bug where mortals didn't show
This commit is contained in:
parent
7bff0f37ad
commit
86f83bcc57
2 changed files with 5 additions and 2 deletions
|
|
@ -1251,9 +1251,11 @@ ACMD(do_who)
|
|||
for (i = 0; *rank[i].disp != '\n'; i++)
|
||||
if (GET_ADMLEVEL(tch) >= rank[i].min_level && GET_ADMLEVEL(tch) <= rank[i].max_level) {
|
||||
if (rank[i].min_level >= ADMLVL_IMMORT && !PRF_FLAGGED(tch, PRF_MORTAL))
|
||||
rank[i].count++;
|
||||
rank[i].count++; /* Add 'real' admins */
|
||||
else if (rank[i].max_level < ADMLVL_IMMORT)
|
||||
rank[i].count++; /* Add 'real' mortals */
|
||||
} else if (rank[i].max_level < ADMLVL_IMMORT && PRF_FLAGGED(tch, PRF_MORTAL))
|
||||
rank[i].count++;
|
||||
rank[i].count++; /* Add 'fake' mortals */
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue