mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-21 08:29:02 -04:00
Gah, im forgetting to SetMode!
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4217 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
7aaae3c842
commit
9dd72b7003
@ -25,6 +25,7 @@ class SSLMode : public ModeHandler
|
|||||||
return MODEACTION_DENY;
|
return MODEACTION_DENY;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
channel->SetMode('z',true);
|
||||||
return MODEACTION_ALLOW;
|
return MODEACTION_ALLOW;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
@ -34,7 +35,13 @@ class SSLMode : public ModeHandler
|
|||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
(channel->IsModeSet('z')) ? return MODEACTION_DENY : return MODEACTION_ALLOW;
|
if (channel->IsModeSet('z'))
|
||||||
|
{
|
||||||
|
channel->SetMode('z',false);
|
||||||
|
return MODEACTION_ALLOW;
|
||||||
|
}
|
||||||
|
|
||||||
|
return MODEACTION_DENY;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
Loading…
x
Reference in New Issue
Block a user