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

Comparing ircd-hybrid-8/modules/m_connect.c (file contents):
Revision 1218 by michael, Mon Aug 15 08:11:31 2011 UTC vs.
Revision 1219 by michael, Sun Sep 18 09:02:38 2011 UTC

# Line 91 | Line 91 | mo_connect(struct Client *client_p, stru
91  
92    if (parc > 3)
93    {
94 <    if (!IsOperRemote(source_p))
94 >    if (!HasOFlag(source_p, OPER_FLAG_REMOTE))
95      {
96        sendto_one(source_p, form_str(ERR_NOPRIVS),
97                   me.name, source_p->name, "connect");
# Line 171 | Line 171 | mo_connect(struct Client *client_p, stru
171     */
172    if (serv_connect(aconf, source_p))
173    {
174 <    if (!ConfigServerHide.hide_server_ips && IsAdmin(source_p))
174 >    if (!ConfigServerHide.hide_server_ips && HasUMode(source_p, UMODE_ADMIN))
175        sendto_one(source_p, ":%s NOTICE %s :*** Connecting to %s[%s].%d",
176                   me.name, source_p->name, aconf->host,
177                   conf->name, aconf->port);
# Line 313 | Line 313 | ms_connect(struct Client *client_p, stru
313     */
314    aconf->port = tmpport;
315   }
316 –

Diff Legend

– Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)