ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/modules/m_oper.c
(Generate patch)

Comparing ircd-hybrid/trunk/modules/m_oper.c (file contents):
Revision 2229 by michael, Thu Jun 13 20:10:27 2013 UTC vs.
Revision 2248 by michael, Sun Jun 16 11:28:30 2013 UTC

# Line 95 | Line 95 | m_oper(struct Client *client_p, struct C
95      return;
96    }
97  
98 +  if (IsConfSSL(conf) && !HasUMode(source_p, UMODE_SSL))
99 +  {
100 +    sendto_one(source_p, form_str(ERR_NOOPERHOST), me.name, source_p->name);
101 +    failed_oper_notice(source_p, name, "requires SSL/TLS");
102 +    return;
103 +  }
104 +
105    if (!EmptyString(conf->certfp))
106    {
107      if (EmptyString(source_p->certfp) || strcasecmp(source_p->certfp, conf->certfp))

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines