/[svn]/ircd-hybrid/branches/8.2.x/modules/m_version.c
ViewVC logotype

Diff of /ircd-hybrid/branches/8.2.x/modules/m_version.c

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

revision 9395 by michael, Sat May 9 20:54:26 2020 UTC revision 9396 by michael, Thu May 14 19:26:35 2020 UTC
# Line 79  m_version(struct Client *source_p, int p Line 79  m_version(struct Client *source_p, int p
79    last_used = event_base->time.sec_monotonic;    last_used = event_base->time.sec_monotonic;
80    
81    if (ConfigServerHide.disable_remote_commands == 0)    if (ConfigServerHide.disable_remote_commands == 0)
82      if (server_hunt(source_p, ":%s VERSION :%s", 1, parc, parv)->ret != HUNTED_ISME)      if (server_hunt(source_p, ":%s VERSION :%s", 1, parv)->ret != HUNTED_ISME)
83        return;        return;
84    
85    sendto_one_numeric(source_p, &me, RPL_VERSION, PATCHLEVEL, SERIALNUM,    sendto_one_numeric(source_p, &me, RPL_VERSION, PATCHLEVEL, SERIALNUM,
# Line 101  m_version(struct Client *source_p, int p Line 101  m_version(struct Client *source_p, int p
101  static void  static void
102  ms_version(struct Client *source_p, int parc, char *parv[])  ms_version(struct Client *source_p, int parc, char *parv[])
103  {  {
104    if (server_hunt(source_p, ":%s VERSION :%s", 1, parc, parv)->ret != HUNTED_ISME)    if (server_hunt(source_p, ":%s VERSION :%s", 1, parv)->ret != HUNTED_ISME)
105      return;      return;
106    
107    sendto_one_numeric(source_p, &me, RPL_VERSION, PATCHLEVEL, SERIALNUM,    sendto_one_numeric(source_p, &me, RPL_VERSION, PATCHLEVEL, SERIALNUM,

Legend:
Removed from v.9395  
changed lines
  Added in v.9396

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