1
0
mirror of https://github.com/anope/anope.git synced 2026-07-08 01:23:14 +02:00

Fix not setting the correct compile flags on modules and fix the resulting warnings

This commit is contained in:
Adam
2013-07-20 02:55:25 -04:00
parent 492eac20a8
commit 6db0186947
16 changed files with 53 additions and 50 deletions
+2 -1
View File
@@ -306,7 +306,8 @@ class CSSeen : public Module
void OnExpireTick() anope_override
{
size_t previous_size = database.size(), purgetime = Config->GetModule(this)->Get<time_t>("purgetime");
size_t previous_size = database.size();
time_t purgetime = Config->GetModule(this)->Get<time_t>("purgetime");
if (!purgetime)
purgetime = Anope::DoTime("30d");
for (database_map::iterator it = database.begin(), it_end = database.end(); it != it_end;)