From 0ba3bb8ade1311bd21c2285dae7aab228a14c650 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 11 Aug 2006 09:28:31 +0000 Subject: Change to use InspIRCd::Time() git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4874 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_connflood.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules/m_connflood.cpp') diff --git a/src/modules/m_connflood.cpp b/src/modules/m_connflood.cpp index 291074c98..ffa2fba83 100644 --- a/src/modules/m_connflood.cpp +++ b/src/modules/m_connflood.cpp @@ -71,12 +71,12 @@ public: /* seconds to wait when the server just booted */ boot_wait = conf->ReadInteger("connflood", "bootwait", 0, true); - first = TIME; + first = ServerInstance->Time(); } virtual void OnUserRegister(userrec* user) { - time_t next = TIME; + time_t next = ServerInstance->Time(); if (!first) first = next - boot_wait; -- cgit v1.2.3