mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-10 11:09:04 -04:00
Merge in patch from nenolod to make channelmode +z not count ulined clients when determining if all users on a channel are ssl before setting the mode. Thanks nenolod.
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@9936 e03df62e-2008-0410-955e-edbf42e46eb7
This commit is contained in:
parent
024ef0c621
commit
81dae4cc23
@ -35,7 +35,7 @@ class SSLMode : public ModeHandler
|
||||
CUList* userlist = channel->GetUsers();
|
||||
for(CUList::iterator i = userlist->begin(); i != userlist->end(); i++)
|
||||
{
|
||||
if(!i->first->GetExt("ssl", dummy))
|
||||
if(!i->first->GetExt("ssl", dummy) && !ServerInstance->ULine(i->first->server))
|
||||
{
|
||||
source->WriteNumeric(490, "%s %s :all members of the channel must be connected via SSL", source->nick.c_str(), channel->name.c_str());
|
||||
return MODEACTION_DENY;
|
||||
|
Loading…
x
Reference in New Issue
Block a user