]> jfr.im git - irc/gameservirc.git/blobdiff - gameserv/gameserv.cpp
changed logig for wishing well forest event to add a forest fight back if you had...
[irc/gameservirc.git] / gameserv / gameserv.cpp
index 536afafee64c7cddede659127f2a4457dac83247..438ac1b8ac6a54f15ec251423f94840657f3fdb3 100644 (file)
@@ -168,6 +168,7 @@ void gameserv(char *source, char *buf)
     if (curday != day)
     {
         refreshall();
+       clearNews(todaysnews);
         day = curday;
        save_day(); // here i come to save the day!
     }
@@ -219,6 +220,8 @@ void gameserv(char *source, char *buf)
        do_list(source);
     } else if (stricmp(cmd, "LOGOUT") == 0) {
        do_logout(source);
+    } else if (stricmp(cmd, "NEWS") == 0) {
+       do_news(source);
     } else if (stricmp(cmd, "REGISTER") == 0) {
        do_register(source);
     } else if (stricmp(cmd, "IDENTIFY") == 0) {