/*
* m_version - VERSION command handler
- * parv[0] = sender prefix
* parv[1] = remote server
*/
static int
if(parc > 1)
{
- if((last_used + ConfigFileEntry.pace_wait) > CurrentTime)
+ if((last_used + ConfigFileEntry.pace_wait) > rb_current_time())
{
/* safe enough to give this on a local connect only */
sendto_one(source_p, form_str(RPL_LOAD2HI),
return 0;
}
else
- last_used = CurrentTime;
+ last_used = rb_current_time();
if(hunt_server(client_p, source_p, ":%s VERSION :%s", 1, parc, parv) != HUNTED_ISME)
return 0;
/*
* mo_version - VERSION command handler
- * parv[0] = sender prefix
* parv[1] = remote server
*/
static int
if(ConfigChannel.use_except)
*p++ = 'e';
- if(ConfigFileEntry.glines)
- *p++ = 'g';
- *p++ = 'G';
-
/* might wanna hide this :P */
if(ServerInfo.hub)
*p++ = 'H';
*p++ = 'Z';
#endif
-#ifdef IPV6
+#ifdef RB_IPV6
*p++ = '6';
#endif