From b21e2d1c1665bcffb9c86fb3d170247f026737ad Mon Sep 17 00:00:00 2001 From: w00t Date: Sun, 25 Jan 2009 23:22:49 +0000 Subject: Allow +l 0 (for +PlL #newchan). git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@11006 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modes/cmode_l.cpp | 9 --------- 1 file changed, 9 deletions(-) (limited to 'src') 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 */ -- cgit v1.2.3