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:
@@ -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;)
|
||||
|
||||
Reference in New Issue
Block a user