]> git.netwichtig.de Git - user/henk/code/inspircd.git/blobdiff - src/modules/m_check.cpp
Add a snotice when a user tries to use WEBIRC without matching any configured blocks.
[user/henk/code/inspircd.git] / src / modules / m_check.cpp
index 17504562fc0dd7210c5e8fd7c2ebadf19c75103d..947e203679c299dcf2dd86fc736a91ed4c926fc5 100644 (file)
@@ -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)
                        {