diff options
| author | 2021-05-14 16:54:33 +0100 | |
|---|---|---|
| committer | 2021-05-14 16:54:33 +0100 | |
| commit | 7a712456f1b7debbf72649dd7c03e05b56f17461 (patch) | |
| tree | cab844135f30ec8f1dad4e21940566a04feafa64 /src/modules/m_anticaps.cpp | |
| parent | Refactor the DNSBL config storage class. (diff) | |
| parent | Release v3.10.0. (diff) | |
Merge branch 'insp3' into master.
Diffstat (limited to 'src/modules/m_anticaps.cpp')
| -rw-r--r-- | src/modules/m_anticaps.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/modules/m_anticaps.cpp b/src/modules/m_anticaps.cpp index 758ed79c4..31fd29408 100644 --- a/src/modules/m_anticaps.cpp +++ b/src/modules/m_anticaps.cpp @@ -2,7 +2,7 @@ * InspIRCd -- Internet Relay Chat Daemon * * Copyright (C) 2019 Robby <robby@chatbelgie.be> - * Copyright (C) 2018-2020 Sadie Powell <sadie@witchery.services> + * Copyright (C) 2018-2021 Sadie Powell <sadie@witchery.services> * * This file is part of InspIRCd. InspIRCd is free software: you can * redistribute it and/or modify it under the terms of the GNU General Public @@ -154,8 +154,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) |
