summaryrefslogtreecommitdiff
path: root/src/mode.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mode.cpp')
-rw-r--r--src/mode.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mode.cpp b/src/mode.cpp
index bce2b2019..faa70a29f 100644
--- a/src/mode.cpp
+++ b/src/mode.cpp
@@ -1221,5 +1221,5 @@ ModeParser::ModeParser(InspIRCd* Instance) : ServerInstance(Instance)
this->AddMode(modes[index]);
seq = 0;
- memset(&sent, 0, 256);
+ memset(&sent, 0, sizeof(sent));
}