aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_codepage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_codepage.cpp')
-rw-r--r--src/modules/m_codepage.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/modules/m_codepage.cpp b/src/modules/m_codepage.cpp
index e6ff7a919..350ec617c 100644
--- a/src/modules/m_codepage.cpp
+++ b/src/modules/m_codepage.cpp
@@ -88,13 +88,11 @@ class SingleByteCodepage final
: public Codepage
{
private:
- typedef std::bitset<UCHAR_MAX + 1> AllowedChars;
-
// The characters which are allowed in nicknames.
- AllowedChars allowedchars;
+ CharState allowedchars;
// The characters which are allowed at the front of a nickname.
- AllowedChars allowedfrontchars;
+ CharState allowedfrontchars;
public:
AllowCharacterResult AllowCharacter(uint32_t character, bool front) override