From 74da82aef979d75eb1d1a2a56f12d742fd5d4c87 Mon Sep 17 00:00:00 2001 From: brain Date: Tue, 8 May 2007 02:59:29 +0000 Subject: We're setting chanrec::creation in here and not chanrec::age, this can and will fuck up TS. Set Both. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@6910 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/channels.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/channels.cpp b/src/channels.cpp index ccb230005..74c617538 100644 --- a/src/channels.cpp +++ b/src/channels.cpp @@ -216,6 +216,7 @@ chanrec* chanrec::JoinUser(InspIRCd* Instance, userrec *user, const char* cn, bo Ptr->modes[CM_TOPICLOCK] = Ptr->modes[CM_NOEXTERNAL] = 1; Ptr->created = TS ? TS : Instance->Time(); + Ptr->age = Ptr->created; *Ptr->topic = 0; *Ptr->setby = 0; Ptr->topicset = 0; -- cgit v1.2.3