/[svn]/ircd-hybrid-8/modules/m_time.c
ViewVC logotype

Diff of /ircd-hybrid-8/modules/m_time.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1297 by michael, Fri Sep 30 10:47:53 2011 UTC revision 1298 by michael, Tue Feb 28 18:51:13 2012 UTC
# Line 50  m_time(struct Client *client_p, struct C Line 50  m_time(struct Client *client_p, struct C
50    
51    /* This is safe enough to use during non hidden server mode */    /* This is safe enough to use during non hidden server mode */
52    if (!ConfigFileEntry.disable_remote)    if (!ConfigFileEntry.disable_remote)
53      if (hunt_server(client_p,source_p,":%s TIME :%s",1,parc,parv) != HUNTED_ISME)      if (hunt_server(client_p, source_p, ":%s TIME :%s", 1, parc, parv) != HUNTED_ISME)
54        return;        return;
55    
56    sendto_one(source_p, form_str(RPL_TIME), me.name,    sendto_one(source_p, form_str(RPL_TIME), me.name,
# Line 66  static void Line 66  static void
66  mo_time(struct Client *client_p, struct Client *source_p,  mo_time(struct Client *client_p, struct Client *source_p,
67          int parc, char *parv[])          int parc, char *parv[])
68  {  {
69    if (hunt_server(client_p,source_p,":%s TIME :%s",1,parc,parv) == HUNTED_ISME)    if (hunt_server(client_p, source_p, ":%s TIME :%s", 1, parc, parv) == HUNTED_ISME)
70      sendto_one(source_p, form_str(RPL_TIME), me.name,      sendto_one(source_p, form_str(RPL_TIME), me.name,
71                 source_p->name, me.name, date(0));                 source_p->name, me.name, date(0));
72  }  }

Legend:
Removed from v.1297  
changed lines
  Added in v.1298

svnadmin@ircd-hybrid.org
ViewVC Help
Powered by ViewVC 1.1.30