summaryrefslogtreecommitdiff
path: root/src/modules/m_connflood.cpp
diff options
context:
space:
mode:
authorbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-11 09:28:31 +0000
committerbrain <brain@e03df62e-2008-0410-955e-edbf42e46eb7>2006-08-11 09:28:31 +0000
commit0ba3bb8ade1311bd21c2285dae7aab228a14c650 (patch)
tree13573a2008cc20515e0b7e1c135de6ef1868cc4d /src/modules/m_connflood.cpp
parent76ebc88ccd6fef0bf2d97b607829fb3466e273af (diff)
Change to use InspIRCd::Time()
git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@4874 e03df62e-2008-0410-955e-edbf42e46eb7
Diffstat (limited to 'src/modules/m_connflood.cpp')
-rw-r--r--src/modules/m_connflood.cpp4
1 files changed, 2 insertions, 2 deletions
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;