mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-11 11:39:02 -04:00
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
This commit is contained in:
parent
0268121676
commit
92796ffe64
@ -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)
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user