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:
brain 2008-06-26 17:33:25 +00:00
parent 024ef0c621
commit 81dae4cc23

View File

@ -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;