From 1fbd75d645e2b4243ebec65bb8952069b24253b9 Mon Sep 17 00:00:00 2001 From: special Date: Sun, 5 Nov 2006 00:47:08 +0000 Subject: Added time syncing! This is fairly simple - servers exchange timestamps and use the lowest - but should get rid of the annoying bounces for those of us who can't depend on ntpd. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@5649 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/channels.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'src/channels.cpp') diff --git a/src/channels.cpp b/src/channels.cpp index 9ef1180c6..bf6eccdb6 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -30,6 +30,7 @@ chanrec::chanrec(InspIRCd* Instance) : ServerInstance(Instance) created = topicset = limit = 0; internal_userlist.clear(); memset(&modes,0,64); + age = ServerInstance->Time(true); } void chanrec::SetMode(char mode,bool mode_on) -- cgit v1.2.3