summaryrefslogtreecommitdiff
path: root/src/modes
diff options
context:
space:
mode:
Diffstat (limited to 'src/modes')
-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 ee3d574e0..e87a524b2 100644
--- a/src/modes/cmode_l.cpp
+++ b/src/modes/cmode_l.cpp
@@ -51,15 +51,6 @@ ModeAction ModeChannelLimit::OnModeChange(User*, User*, Channel* channel, std::s
if (limit < 0)
limit = 0x7FFF;
- /* If the new limit is the same as the old limit,
- * and the old limit isnt 0, disallow */
- std::string oldlimit = channel->GetModeParameter('l');
- if (limit == atoi(oldlimit.c_str()) && oldlimit != "0")
- {
- parameter = "";
- return MODEACTION_DENY;
- }
-
parameter = ConvToStr(limit);
/* Set new limit */