channel->GetExt(infokey, el);
if (el)
{
- irc::modestacker modestack(false);
+ irc::modestacker modestack(ServerInstance, false);
std::deque<std::string> stackresult;
std::vector<std::string> mode_junk;
mode_junk.push_back(channel->name);
{
// We have a pattern matching the channel...
maxsize = el->size();
- if (maxsize < it->limit)
+ if (IS_LOCAL(source) || (maxsize < it->limit))
{
/* Ok, it *could* be allowed, now give someone subclassing us
* a chance to validate the parameter.
{
modelist* mlist;
chan->GetExt(infokey, mlist);
- irc::modestacker modestack(true);
+ irc::modestacker modestack(ServerInstance, true);
std::deque<std::string> stackresult;
if (mlist)
{