summaryrefslogtreecommitdiff
path: root/src/modules/m_sethost.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-05-14 14:26:46 +0100
committerSadie Powell <sadie@witchery.services>2021-05-14 14:26:46 +0100
commitc24a7435b8171db15c719af119e708bfd9b719bc (patch)
tree54fd9b8ced9f599f6d0ab5d67137a97131b8222c /src/modules/m_sethost.cpp
parent4350a11c663b0d75f8119743bffb7736d87abd4d (diff)
Fix an off by one error in various bitsets.
Diffstat (limited to 'src/modules/m_sethost.cpp')
-rw-r--r--src/modules/m_sethost.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/m_sethost.cpp b/src/modules/m_sethost.cpp
index 98067b459..18c964d1b 100644
--- a/src/modules/m_sethost.cpp
+++ b/src/modules/m_sethost.cpp
@@ -30,7 +30,7 @@
class CommandSethost : public Command
{
public:
- std::bitset<UCHAR_MAX> hostmap;
+ std::bitset<UCHAR_MAX + 1> hostmap;
CommandSethost(Module* Creator)
: Command(Creator,"SETHOST", 1)