diff options
author | special <special@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-05 00:47:08 +0000 |
---|---|---|
committer | special <special@e03df62e-2008-0410-955e-edbf42e46eb7> | 2006-11-05 00:47:08 +0000 |
commit | 1fbd75d645e2b4243ebec65bb8952069b24253b9 (patch) | |
tree | 9276881f56aad6641614aa2de6a0f67ee2979a5c /src/channels.cpp | |
parent | ef6be06f9c0016ac35c2df6bbb0f16ba6b243b2c (diff) |
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
Diffstat (limited to 'src/channels.cpp')
-rw-r--r-- | src/channels.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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) |