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

Comparing ircd-hybrid/trunk/modules/m_stats.c (file contents):
Revision 7999 by michael, Tue Mar 14 13:50:59 2017 UTC vs.
Revision 8059 by michael, Thu Mar 23 16:13:39 2017 UTC

# Line 218 | Line 218 | stats_connect(struct Client *source_p, i
218      *p = '\0';
219  
220      /*
221 <     * Allow admins to see actual ips unless hide_server_ips is enabled
221 >     * Allow admins to see actual ips unless 'hide_server_ips' is enabled
222       */
223      if (!ConfigServerHide.hide_server_ips && HasUMode(source_p, UMODE_ADMIN))
224        sendto_one_numeric(source_p, &me, RPL_STATSCLINE, 'C', conf->host,
225 <                         buf, conf->name, conf->port,
226 <                         conf->class->name);
225 >                         buf, conf->name, conf->port, conf->class->name);
226      else
227 <      sendto_one_numeric(source_p, &me, RPL_STATSCLINE, 'C',
228 <                         "*@127.0.0.1", buf, conf->name, conf->port,
230 <                         conf->class->name);
227 >      sendto_one_numeric(source_p, &me, RPL_STATSCLINE, 'C', "*@127.0.0.1",
228 >                         buf, conf->name, conf->port, conf->class->name);
229    }
230   }
231  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines