diff options
-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 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; |