* | Inspire Internet Relay Chat Daemon |
* +------------------------------------+
*
- * InspIRCd: (C) 2002-2009 InspIRCd Development Team
+ * InspIRCd: (C) 2002-2010 InspIRCd Development Team
* See: http://wiki.inspircd.org/Credits
*
* This program is free but copyrighted software; see
}
}
+ if (channel->GetModeParameter('L') == parameter)
+ return MODEACTION_DENY;
/*
* We used to do some checking for circular +L here, but there is no real need for this any more especially as we
* now catch +L looping in PreJoin. Remove it, since O(n) logic makes me sad, and we catch it anyway. :) -- w00t
{
if (chan)
{
- if (chan->IsModeSet('L') && chan->modes[CM_LIMIT])
+ if (chan->IsModeSet('L') && chan->IsModeSet('l'))
{
if (chan->GetUserCounter() >= atoi(chan->GetModeParameter('l').c_str()))
{
virtual Version GetVersion()
{
- return Version("Provides channel mode +L (limit redirection)", VF_COMMON | VF_VENDOR);
+ return Version("Provides channel mode +L (limit redirection)", VF_VENDOR);
}
};