This is a fork of Zandronum for TSPG.
リビジョン | 092a73bcff63f4fb27bb9f3e79ba7abc15f95a70 (tree) |
---|---|
日時 | 2019-10-12 06:50:09 |
作者 | Sean Baggaley <sean@csnx...> |
コミッター | Sean Baggaley |
Sends message upon filtering a chat line
@@ -5208,6 +5208,7 @@ | ||
5208 | 5208 | |
5209 | 5209 | if ( BADWORDS_ShouldFilter( pszChatString ) ) |
5210 | 5210 | { |
5211 | + SERVER_PrintfPlayer(ulPlayer, "Your message was discarded because it contained inappropriate language. Please note that attempts to circumvent this system may result in you being banned."); | |
5211 | 5212 | return ( false ); |
5212 | 5213 | } |
5213 | 5214 |
@@ -5,7 +5,7 @@ | ||
5 | 5 | #include "c_cvars.h" |
6 | 6 | #include "i_system.h" |
7 | 7 | #include "sc_man.h" |
8 | -#include "domination.h" | |
8 | +#include "v_text.h" | |
9 | 9 | |
10 | 10 | // Replacement for FScanner::MustGetString that doesn't fatally error |
11 | 11 | // This is an ugly hack |