diff options
author | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-01-09 20:37:03 +0000 |
---|---|---|
committer | peavey <peavey@e03df62e-2008-0410-955e-edbf42e46eb7> | 2009-01-09 20:37:03 +0000 |
commit | 92796ffe6430162a9cb70f1361aaa9ca64645c90 (patch) | |
tree | babd531d5200277cf88a2fa1ccf88d1331e8dcfd /src/modules | |
parent | 0268121676bcd787a980aca0a6ebea36a8564cdd (diff) |
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
Diffstat (limited to 'src/modules')
-rw-r--r-- | src/modules/m_check.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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) { |