mirror of
https://github.com/shavitush/bhoptimer.git
synced 2025-12-07 18:38:26 +00:00
remove use of MAX_NAME_LENGTH_SQL (32) and replace with MAX_NAME_LENGTH (32)
This commit is contained in:
parent
757d6bf773
commit
1c4438911d
@ -2509,9 +2509,9 @@ public void OnClientPutInServer(int client)
|
||||
return;
|
||||
}
|
||||
|
||||
char sName[MAX_NAME_LENGTH_SQL];
|
||||
GetClientName(client, sName, MAX_NAME_LENGTH_SQL);
|
||||
ReplaceString(sName, MAX_NAME_LENGTH_SQL, "#", "?"); // to avoid this: https://user-images.githubusercontent.com/3672466/28637962-0d324952-724c-11e7-8b27-15ff021f0a59.png
|
||||
char sName[MAX_NAME_LENGTH];
|
||||
GetClientName(client, sName, MAX_NAME_LENGTH);
|
||||
ReplaceString(sName, MAX_NAME_LENGTH, "#", "?"); // to avoid this: https://user-images.githubusercontent.com/3672466/28637962-0d324952-724c-11e7-8b27-15ff021f0a59.png
|
||||
|
||||
int iLength = ((strlen(sName) * 2) + 1);
|
||||
char[] sEscapedName = new char[iLength];
|
||||
|
||||
Loading…
Reference in New Issue
Block a user