• R/O
  • SSH

提交

標籤
無標籤

Frequently used words (click to add to your profile)

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

This is a fork of Zandronum Beta for Mac Os (Silicon and Intel)


Commit MetaInfo

修訂0a9e697adf833b629983124edded99b4a44d0eab (tree)
時間2022-10-06 21:18:14
作者Adam Kaminski <kaminskiadam9@gmai...>
CommiterAdam Kaminski

Log Message

Fixed compile errors when CREATE_PACKET_LOG is defined.

Change Summary

差異

diff -r 00eff1aee1b6 -r 0a9e697adf83 src/sv_main.cpp
--- a/src/sv_main.cpp Mon Oct 03 09:25:14 2022 -0400
+++ b/src/sv_main.cpp Thu Oct 06 08:18:14 2022 -0400
@@ -8074,10 +8074,10 @@
80748074 if ( !g_HackerIPList.isIPInList( Address ) )
80758075 {
80768076 IPStringArray szAddress;
8077- Address.ToIPStringArray ( szAddress );
8077+ szAddress.SetFrom( Address );
80788078 std::string reason;
80798079 reason = "Hacker";
8080- g_HackerIPList.addEntry( szAddress[0], szAddress[1], szAddress[2], szAddress[3], "", pszReason, reason, SERVERBAN_ParseBanLength ( "perm" ) );
8080+ g_HackerIPList.addEntry( szAddress, "", pszReason, reason, SERVERBAN_ParseBanLength ( "perm" ) );
80818081 }
80828082
80838083 // Write the start of the log entry.