summaryrefslogtreecommitdiff
path: root/src/char/char.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/char/char.cpp')
-rw-r--r--src/char/char.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/char/char.cpp b/src/char/char.cpp
index 417b0d3..4d930f1 100644
--- a/src/char/char.cpp
+++ b/src/char/char.cpp
@@ -812,8 +812,17 @@ void create_online_files(void)
// display each player.
for (CharPair& cd : char_keys)
{
+ CharData *p = nullptr;
+
if (!server_for(&cd))
continue;
+
+ p = cd.data.get();
+
+ // failsafe
+ if (bool(p->option & Opt0::HIDE))
+ continue;
+
players++;
FPRINTF(fp2, " <tr>\n"_fmt);
// displaying the character name