aboutsummaryrefslogtreecommitdiff
path: root/src/common/Common.h
diff options
context:
space:
mode:
authorShauren <shauren.trinity@gmail.com>2015-08-30 00:17:08 +0200
committerShauren <shauren.trinity@gmail.com>2015-10-31 17:27:45 +0100
commit1de03cf1077f83ca89f75064e5f8810e357be195 (patch)
treef11814fb6929be5ade9a20dcc8a12c4a96d26d9e /src/common/Common.h
parent60da7c6552735c62f8b1aba5634ba5177ef06d44 (diff)
Core/Players: Implemented serverside validation of reserved/profane names
Closes #15357 New library dependency: Boost.Regex (cherry picked from commit b564c10b13effed63c7b7dae25117e2e0a2c64e4)
Diffstat (limited to 'src/common/Common.h')
-rw-r--r--src/common/Common.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/common/Common.h b/src/common/Common.h
index 4c209f89ec8..54b735f0ca5 100644
--- a/src/common/Common.h
+++ b/src/common/Common.h
@@ -116,10 +116,11 @@ enum LocaleConstant
LOCALE_zhTW = 5,
LOCALE_esES = 6,
LOCALE_esMX = 7,
- LOCALE_ruRU = 8
+ LOCALE_ruRU = 8,
+
+ TOTAL_LOCALES
};
-const uint8 TOTAL_LOCALES = 9;
#define DEFAULT_LOCALE LOCALE_enUS
#define MAX_LOCALES 8