summaryrefslogtreecommitdiff
path: root/src/network/network_type.h
diff options
context:
space:
mode:
authorrubidium42 <rubidium@openttd.org>2021-04-22 08:17:36 +0200
committerrubidium42 <rubidium42@users.noreply.github.com>2021-04-24 08:02:54 +0200
commite1cebe0ea0719ad408a0a7494efe1d8581b702ce (patch)
treea9891283253ab252620e621145e5de94c4a29bc0 /src/network/network_type.h
parent2e0f3799a809086054f6d5ac4120283b5bb6fa3b (diff)
downloadopenttd-e1cebe0ea0719ad408a0a7494efe1d8581b702ce.tar.xz
Add: [Network] Validate the client name server side, so no clients with invalid names can actually join
Diffstat (limited to 'src/network/network_type.h')
-rw-r--r--src/network/network_type.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/network/network_type.h b/src/network/network_type.h
index 5a7705346..4c75346da 100644
--- a/src/network/network_type.h
+++ b/src/network/network_type.h
@@ -132,6 +132,7 @@ enum NetworkErrorCode {
NETWORK_ERROR_TIMEOUT_COMPUTER,
NETWORK_ERROR_TIMEOUT_MAP,
NETWORK_ERROR_TIMEOUT_JOIN,
+ NETWORK_ERROR_INVALID_CLIENT_NAME,
NETWORK_ERROR_END,
};