]> jfr.im git - irc/rqf/shadowircd.git/blobdiff - modules/m_resv.c
CurrentTime -> rb_currenttime();
[irc/rqf/shadowircd.git] / modules / m_resv.c
index d492c985f18ae56246487e268f63261b109d4bf1..084f3f8ef0d6225132346ebebb11550b47acf0c8 100644 (file)
@@ -230,7 +230,7 @@ parse_resv(struct Client *source_p, const char *name,
 
                if(temp_time > 0)
                {
-                       aconf->hold = CurrentTime + temp_time;
+                       aconf->hold = rb_current_time() + temp_time;
 
                        sendto_realops_snomask(SNO_GENERAL, L_ALL,
                                     "%s added temporary %d min. RESV for [%s] [%s]",
@@ -288,7 +288,7 @@ parse_resv(struct Client *source_p, const char *name,
 
                if(temp_time > 0)
                {
-                       aconf->hold = CurrentTime + temp_time;
+                       aconf->hold = rb_current_time() + temp_time;
 
                        sendto_realops_snomask(SNO_GENERAL, L_ALL,
                                     "%s added temporary %d min. RESV for [%s] [%s]",