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

Comparing ircd-hybrid/trunk/modules/m_version.c (file contents):
Revision 8728 by michael, Sun Oct 28 19:43:30 2018 UTC vs.
Revision 8729 by michael, Sat Dec 15 12:56:11 2018 UTC

# Line 35 | Line 35
35   #include "parse.h"
36   #include "modules.h"
37   #include "isupport.h"
38 + #include "patchlevel.h"
39 + #include "serno.h"
40  
41  
42   /* Option string. */
# Line 80 | Line 82 | m_version(struct Client *source_p, int p
82      if (server_hunt(source_p, ":%s VERSION :%s", 1, parc, parv)->ret != HUNTED_ISME)
83        return 0;
84  
85 <  sendto_one_numeric(source_p, &me, RPL_VERSION, ircd_version, serno,
85 >  sendto_one_numeric(source_p, &me, RPL_VERSION, PATCHLEVEL, SERIALNUM,
86                       me.name, serveropts);
87    isupport_show(source_p);
88    return 0;
# Line 103 | Line 105 | ms_version(struct Client *source_p, int
105    if (server_hunt(source_p, ":%s VERSION :%s", 1, parc, parv)->ret != HUNTED_ISME)
106      return 0;
107  
108 <  sendto_one_numeric(source_p, &me, RPL_VERSION, ircd_version, serno,
108 >  sendto_one_numeric(source_p, &me, RPL_VERSION, PATCHLEVEL, SERIALNUM,
109                       me.name, serveropts);
110    isupport_show(source_p);
111    return 0;

Diff Legend

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