lastrefresh = currentTime;
save_lastrefresh();
notice(s_GameServ, c_Forest, "Refreshing all players "\
- "and resetting news! %ld", refreshperiod);
+ "and resetting news!");
}
// Save the player data every updateperiod seconds
{
oldTime = currentTime;
log("Saving to %s", playerdata);
+
save_gs_dbase();
saveNews(newsdata, todaysnews);
+ // Send notice to the channel of the update
+ notice(s_GameServ, c_Forest, "%S player data saved");
}