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

Comparing ircd-hybrid/trunk/modules/m_connect.c (file contents):
Revision 1834 by michael, Fri Apr 19 19:50:27 2013 UTC vs.
Revision 2012 by michael, Sun May 12 14:47:26 2013 UTC

# Line 67 | Line 67 | mo_connect(struct Client *client_p, stru
67  
68    if (parc > 3)
69    {
70 <    if (!HasOFlag(source_p, OPER_FLAG_REMOTE))
70 >    if (!HasOFlag(source_p, OPER_FLAG_CONNECT_REMOTE))
71      {
72        sendto_one(source_p, form_str(ERR_NOPRIVS),
73                   me.name, source_p->name, "connect");
# Line 78 | Line 78 | mo_connect(struct Client *client_p, stru
78                      parc, parv) != HUNTED_ISME)
79        return;
80    }
81 +  else if (!HasOFlag(source_p, OPER_FLAG_CONNECT))
82 +  {
83 +    sendto_one(source_p, form_str(ERR_NOPRIVS),
84 +               me.name, source_p->name, "connect");
85 +    return;
86 +  }
87  
88    if ((target_p = hash_find_server(parv[1])))
89    {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines