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 1243 by michael, Fri Sep 30 10:47:53 2011 UTC vs.
Revision 1474 by michael, Sun Jul 22 14:44:07 2012 UTC

# Line 29 | Line 29
29   #include "numeric.h"
30   #include "fdlist.h"
31   #include "s_bsd.h"
32 < #include "s_conf.h"
33 < #include "s_log.h"
32 > #include "conf.h"
33 > #include "log.h"
34   #include "s_serv.h"
35   #include "send.h"
36   #include "parse.h"
# Line 138 | Line 138 | mo_connect(struct Client *client_p, stru
138    /*
139     * Notify all operators about remote connect requests
140     */
141 <  ilog(L_TRACE, "CONNECT From %s : %s %s",
141 >  ilog(LOG_TYPE_IRCD, "CONNECT From %s : %s %s",
142         source_p->name, parv[1], parv[2] ? parv[2] : "");
143  
144    aconf->port = port;
# Line 193 | Line 193 | ms_connect(struct Client *client_p, stru
193                    ":%s CONNECT %s %s :%s", 3, parc, parv) != HUNTED_ISME)
194      return;
195  
196 <  if (*parv[1] == '\0')
196 >  if (EmptyString(parv[1]))
197    {
198      sendto_one(source_p, form_str(ERR_NEEDMOREPARAMS),
199                 me.name, source_p->name, "CONNECT");
# Line 265 | Line 265 | ms_connect(struct Client *client_p, stru
265     */
266    sendto_wallops_flags(UMODE_WALLOP, &me, "Remote CONNECT %s %d from %s",
267                         parv[1], port, source_p->name);
268 <  sendto_server(NULL, NULL, NOCAPS, NOCAPS,
268 >  sendto_server(NULL, NOCAPS, CAP_TS6,
269                  ":%s WALLOPS :Remote CONNECT %s %d from %s",
270                  me.name, parv[1], port, source_p->name);
271 +  sendto_server(NULL, CAP_TS6, NOCAPS,
272 +                ":%s WALLOPS :Remote CONNECT %s %d from %s",
273 +                me.id, parv[1], port, source_p->name);
274  
275 <  ilog(L_TRACE, "CONNECT From %s : %s %d",
275 >  ilog(LOG_TYPE_IRCD, "CONNECT From %s : %s %d",
276         source_p->name, parv[1], port);
277  
278    aconf->port = port;

Diff Legend

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