summaryrefslogtreecommitdiff
path: root/src/modules/m_anticaps.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/m_anticaps.cpp')
-rw-r--r--src/modules/m_anticaps.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/m_anticaps.cpp b/src/modules/m_anticaps.cpp
index 2c39dce98..8b6cd50f5 100644
--- a/src/modules/m_anticaps.cpp
+++ b/src/modules/m_anticaps.cpp
@@ -158,8 +158,8 @@ class ModuleAntiCaps : public Module
{
private:
CheckExemption::EventProvider exemptionprov;
- std::bitset<UCHAR_MAX> uppercase;
- std::bitset<UCHAR_MAX> lowercase;
+ std::bitset<UCHAR_MAX + 1> uppercase;
+ std::bitset<UCHAR_MAX + 1> lowercase;
AntiCapsMode mode;
void CreateBan(Channel* channel, User* user, bool mute)