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/modules/m_version.c (file contents), Revision 33 by knight, Sun Oct 2 20:50:00 2005 UTC vs.
ircd-hybrid-8/modules/m_version.c (file contents), Revision 1178 by michael, Mon Aug 15 08:11:31 2011 UTC

# Line 56 | Line 56 | static const char serveropts[] = {
56   };
57  
58   struct Message version_msgtab = {
59 <  "VERSION", 0, 0, 0, 0, MFLG_SLOW, 0,
59 >  "VERSION", 0, 0, 0, MAXPARA, MFLG_SLOW, 0,
60    { m_unregistered, m_version, ms_version, m_ignore, mo_version, m_ignore }
61   };
62  
63 – #ifndef STATIC_MODULES
63   void
64   _modinit(void)
65   {
# Line 74 | Line 73 | _moddeinit(void)
73   }
74  
75   const char *_version = "$Revision$";
77 – #endif
76  
77   /*
78   * m_version - VERSION command handler
# Line 87 | Line 85 | m_version(struct Client *client_p, struc
85   {
86    static time_t last_used = 0;
87  
88 <  if ((last_used + ConfigFileEntry.pace_wait) > CurrentTime)
88 >  if ((last_used + ConfigFileEntry.pace_wait_simple) > CurrentTime)
89    {
90      /* safe enough to give this on a local connect only */
91      sendto_one(source_p, form_str(RPL_LOAD2HI),
92                 me.name, source_p->name);
93      return;
94    }
95 <  else
96 <    last_used = CurrentTime;
95 >
96 >  last_used = CurrentTime;
97  
98    if (!ConfigFileEntry.disable_remote)
101 –  {
99      if (hunt_server(client_p, source_p, ":%s VERSION :%s",
100                      1, parc, parv) != HUNTED_ISME)
101        return;
105 –  }
102  
103    sendto_one(source_p, form_str(RPL_VERSION),
104               me.name, source_p->name, ircd_version, serno,

Diff Legend

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