~ubuntu-branches/ubuntu/oneiric/inspircd/oneiric-security

« back to all changes in this revision

Viewing changes to src/modules/m_sslmodes.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Bhavani Shankar
  • Date: 2008-11-15 20:39:50 UTC
  • mfrom: (1.1.4 upstream) (3.1.2 sid)
  • Revision ID: james.westby@ubuntu.com-20081115203950-uv1pf98x2vkon7se
Tags: 1.1.21+dfsg-1ubuntu1
* Merge from debian unstable, remaining changes: (LP: #298418)
  - debian/patches/04_include-limits-h.dpatch:
    + Explicitly include limits.h for gcc 4.3.

Show diffs side-by-side

added added

removed removed

Lines of Context:
38
38
                                        CUList* userlist = channel->GetUsers();
39
39
                                        for(CUList::iterator i = userlist->begin(); i != userlist->end(); i++)
40
40
                                        {
41
 
                                                if(!i->first->GetExt("ssl", dummy))
 
41
                                                if(!i->first->GetExt("ssl", dummy) && !ServerInstance->ULine(i->first->server))
42
42
                                                {
43
43
                                                        source->WriteServ("490 %s %s :all members of the channel must be connected via SSL", source->nick, channel->name);
44
44
                                                        return MODEACTION_DENY;