From 92796ffe6430162a9cb70f1361aaa9ca64645c90 Mon Sep 17 00:00:00 2001 From: peavey Date: Fri, 9 Jan 2009 20:37:03 +0000 Subject: Change /CHECK <#channel> to correctly report timestamp since it might have been TS synced after creation. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@10954 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/modules/m_check.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/modules') diff --git a/src/modules/m_check.cpp b/src/modules/m_check.cpp index 17504562f..947e20367 100644 --- a/src/modules/m_check.cpp +++ b/src/modules/m_check.cpp @@ -87,12 +87,12 @@ class CommandCheck : public Command else if (targchan) { /* /check on a channel */ - time_t creation_time = targchan->created; + time_t creation_time = targchan->age; time_t topic_time = targchan->topicset; mytime = gmtime(&creation_time); strftime(timebuf, 59, "%Y/%m/%d - %H:%M:%S", mytime); - user->WriteServ(checkstr + " created " + timebuf); + user->WriteServ(checkstr + " timestamp " + timebuf); if (targchan->topic[0] != 0) { -- cgit v1.2.3