summaryrefslogtreecommitdiff
path: root/src/modes/cmode_l.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modes/cmode_l.cpp')
-rw-r--r--src/modes/cmode_l.cpp9
1 files changed, 0 insertions, 9 deletions
diff --git a/src/modes/cmode_l.cpp b/src/modes/cmode_l.cpp
index d64cd342e..1e0caa39d 100644
--- a/src/modes/cmode_l.cpp
+++ b/src/modes/cmode_l.cpp
@@ -60,15 +60,6 @@ ModeAction ModeChannelLimit::OnModeChange(User*, User*, Channel* channel, std::s
return MODEACTION_DENY;
}
- /* They must have specified an invalid number.
- * Dont allow +l 0.
- */
- if (!limit)
- {
- parameter = "";
- return MODEACTION_DENY;
- }
-
parameter = ConvToStr(limit);
/* Set new limit */