This is a fork of Zandronum Beta for Mac Os (Silicon and Intel)
Revision | 0a9e697adf833b629983124edded99b4a44d0eab (tree) |
---|---|
Zeit | 2022-10-06 21:18:14 |
Autor | Adam Kaminski <kaminskiadam9@gmai...> |
Commiter | Adam Kaminski |
Fixed compile errors when CREATE_PACKET_LOG is defined.
@@ -8074,10 +8074,10 @@ | ||
8074 | 8074 | if ( !g_HackerIPList.isIPInList( Address ) ) |
8075 | 8075 | { |
8076 | 8076 | IPStringArray szAddress; |
8077 | - Address.ToIPStringArray ( szAddress ); | |
8077 | + szAddress.SetFrom( Address ); | |
8078 | 8078 | std::string reason; |
8079 | 8079 | 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" ) ); | |
8081 | 8081 | } |
8082 | 8082 | |
8083 | 8083 | // Write the start of the log entry. |