summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-01-25 23:22:49 +0000
committerw00t <w00t@e03df62e-2008-0410-955e-edbf42e46eb7>2009-01-25 23:22:49 +0000
commitb21e2d1c1665bcffb9c86fb3d170247f026737ad (patch)
tree61d714e371be32c214c377c13b97d8458c4d1184
parentbe542b535c647eef610bba907af47683ee14e841 (diff)
Allow +l 0 (for +PlL #newchan).
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11006 e03df62e-2008-0410-955e-edbf42e46eb7
-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 */