]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/gameserv.cpp
Implemented refresh period... now works and added to changelog
[irc/gameservirc.git] / gameserv / gameserv.cpp
index 33237acad3e307101bd62678c3e46e6270435bf0..a5d0862338cc0c8affae4ea6056ac5591ae290ec 100644 (file)
@@ -158,22 +158,6 @@ void gameserv(char *source, char *buf)
        log("Source: %s  Command: %s", source, cmd);
     #endif
 
-    struct tm *tm;
-    time_t ti;
-    time(&ti);
-    tm = localtime(&ti);
-
-    int curday = tm->tm_mday;
-
-    if (curday != day)
-    {
-        refreshall();
-       clearNews(todaysnews);
-       saveNews(newsdata, todaysnews);
-        day = curday;
-       save_day(); // here i come to save the day!
-    }
-
     if (strnicmp(cmd, "\1PING", 6) == 0)
     {
        char *ts;