Skip to content

Commit

Permalink
Increase MAX_PROTOCOL_CONNECT_ARGS_LENGTH to 1024
Browse files Browse the repository at this point in the history
  • Loading branch information
Lpsd committed Oct 15, 2023
1 parent 0f93dc5 commit 9a7cc2c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Client/mods/deathmatch/logic/Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ class CVaPassNext
#define MAX_MAPNAME_LENGTH 255

// Max args length when connecting via mtasa:// protocol
#define MAX_PROTOCOL_CONNECT_ARGS_LENGTH 512
#define MAX_PROTOCOL_CONNECT_ARGS_LENGTH 1024

// Timeouts
#define NET_CONNECT_TIMEOUT 30000
Expand Down
2 changes: 1 addition & 1 deletion Server/mods/deathmatch/Config.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
#define MAX_BAN_RESPONSIBLE_LENGTH 30

// Max args length when connecting via mtasa:// protocol
#define MAX_PROTOCOL_CONNECT_ARGS_LENGTH 512
#define MAX_PROTOCOL_CONNECT_ARGS_LENGTH 1024

// Couple of defines to ensure proper configuration
#if MAX_CHAT_LENGTH > 255
Expand Down

0 comments on commit 9a7cc2c

Please sign in to comment.