summaryrefslogtreecommitdiff
path: root/src/coremods/core_channel/cmode_k.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/coremods/core_channel/cmode_k.cpp')
-rw-r--r--src/coremods/core_channel/cmode_k.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/coremods/core_channel/cmode_k.cpp b/src/coremods/core_channel/cmode_k.cpp
index 992fbc1b5..4fc29e04c 100644
--- a/src/coremods/core_channel/cmode_k.cpp
+++ b/src/coremods/core_channel/cmode_k.cpp
@@ -23,6 +23,8 @@
#include "inspircd.h"
#include "core_channel.h"
+const std::string::size_type ModeChannelKey::maxkeylen = 32;
+
ModeChannelKey::ModeChannelKey(Module* Creator)
: ParamMode<ModeChannelKey, LocalStringExt>(Creator, "key", 'k', PARAM_ALWAYS)
{