diff options
| author | 2019-07-23 15:17:01 +0100 | |
|---|---|---|
| committer | 2019-07-23 15:17:01 +0100 | |
| commit | abdc47a61538231ad1d5e077cf2a84f414c87454 (patch) | |
| tree | 0d1b9dc2951e5fb54d282b68a82e1f584dd2807a /src/listmode.cpp | |
| parent | Add the time tag on the server the message originates from. (diff) | |
Add a constant for the maximum length of a mode parameter.
Diffstat (limited to 'src/listmode.cpp')
| -rw-r--r-- | src/listmode.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/src/listmode.cpp b/src/listmode.cpp index 3d8221779..2a2515cd2 100644 --- a/src/listmode.cpp +++ b/src/listmode.cpp @@ -160,9 +160,6 @@ ModeAction ListModeBase::OnModeChange(User* source, User*, Channel* channel, std if (tidy) ModeParser::CleanMask(parameter); - if (parameter.length() > 250) - return MODEACTION_DENY; - // If there was no list if (!cd) { |
