Skip to content

Commit

Permalink
Update extchat.c
Browse files Browse the repository at this point in the history
  • Loading branch information
mike347 committed Oct 9, 2016
1 parent 04ba1f7 commit df26b78
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/extchat.c
Expand Up @@ -3212,7 +3212,7 @@ chat_player_announce(DESC *desc_player, char *msg, int ungag)
up = onchannel(player, c);
if (up) {
if (!Channel_Quiet(c)) {
if (Chanuser_Hide(up) || Hidden(desc_player))
if (Chanuser_Hide(up) || (desc_player->hide == 1))
channel_send(c, player,
CB_NOCOMBINE | CB_CHECKQUIET | CB_PRESENCE | CB_POSE | CB_SEEALL, msg);
else
Expand Down Expand Up @@ -3246,7 +3246,7 @@ chat_player_announce(DESC *desc_player, char *msg, int ungag)
bp = buff;
bp2 = buff2;

if (Hidden(desc_player) && !See_All(viewer) && (player != viewer))
if ((desc_player->hide == 1) && !See_All(viewer) && (player != viewer))
continue;

for (c = channels; c; c = c->next) {
Expand Down

0 comments on commit df26b78

Please sign in to comment.