X-Git-Url: https://git.pterodactylus.net/?p=fms.git;a=blobdiff_plain;f=src%2Ffreenet%2Fintroductionpuzzleinserter.cpp;fp=src%2Ffreenet%2Fintroductionpuzzleinserter.cpp;h=5ccb25e37de6d0f09b45ecea185e7e5bf89c3ec6;hp=defa0cb392ba56ad0038a27ac432601fbe40f639;hb=e7848d3900faf539dddfa6c7b3aac13ddc099e15;hpb=c0ebc7b53a977885ebc2d3a679c586ae20c0bc4a diff --git a/src/freenet/introductionpuzzleinserter.cpp b/src/freenet/introductionpuzzleinserter.cpp index defa0cb..5ccb25e 100644 --- a/src/freenet/introductionpuzzleinserter.cpp +++ b/src/freenet/introductionpuzzleinserter.cpp @@ -59,6 +59,7 @@ void IntroductionPuzzleInserter::CheckForNeededInsert() // make sure we are on the next day or the appropriate amount of time has elapsed since the last insert if(m_lastinserted.find(rs.GetInt(0))==m_lastinserted.end() || m_lastinserted[rs.GetInt(0)]<=lastinsert || m_lastinserted[rs.GetInt(0)].day()!=now.day()) { + StartInsert(rs.GetInt(0)); m_lastinserted[rs.GetInt(0)]=now; } else