X-Git-Url: http://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fserver%2Fplayer.qc;h=38631188ed4800ad0d682fefa8ccdac86f75b195;hp=2a8710137554406ebbd6a2a256e6357c701bb8a9;hb=073cc17f87486bec59ac2b6f9c26bf1155dbd7d8;hpb=b8ad7477ca022feff76a1634c7ca8dcaaf54937c diff --git a/qcsrc/server/player.qc b/qcsrc/server/player.qc index 2a87101375..38631188ed 100644 --- a/qcsrc/server/player.qc +++ b/qcsrc/server/player.qc @@ -954,7 +954,7 @@ int Say(entity source, int teamsay, entity privatesay, string msgin, bool floodc if (privatesay && source && !IS_PLAYER(source)) { if (!game_stopped) - if ((privatesay && !IS_PLAYER(privatesay)) || (autocvar_g_chat_nospectators == 1) || (autocvar_g_chat_nospectators == 2 && !warmup_stage)) + if ((privatesay && IS_PLAYER(privatesay)) && ((autocvar_g_chat_nospectators == 1) || (autocvar_g_chat_nospectators == 2 && !warmup_stage))) ret = -1; // just hide the message completely }