• R/O
  • SSH

コミット

タグ
未設定

よく使われているワード(クリックで追加)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

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

変更サマリ

差分

diff -r 2ffe22600077 -r 092a73bcff63 src/sv_main.cpp
--- a/src/sv_main.cpp Fri Oct 11 22:02:07 2019 +0100
+++ b/src/sv_main.cpp Fri Oct 11 22:50:09 2019 +0100
@@ -5208,6 +5208,7 @@
52085208
52095209 if ( BADWORDS_ShouldFilter( pszChatString ) )
52105210 {
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.");
52115212 return ( false );
52125213 }
52135214
diff -r 2ffe22600077 -r 092a73bcff63 src/tspg_badwords.cpp
--- a/src/tspg_badwords.cpp Fri Oct 11 22:02:07 2019 +0100
+++ b/src/tspg_badwords.cpp Fri Oct 11 22:50:09 2019 +0100
@@ -5,7 +5,7 @@
55 #include "c_cvars.h"
66 #include "i_system.h"
77 #include "sc_man.h"
8-#include "domination.h"
8+#include "v_text.h"
99
1010 // Replacement for FScanner::MustGetString that doesn't fatally error
1111 // This is an ugly hack