diff options
author | Adam <Adam@anope.org> | 2013-07-20 02:55:25 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-07-20 03:06:20 -0400 |
commit | 6db01869479c878753fc6da49f2fb0bc44511359 (patch) | |
tree | 130e3afdc6d524eae1bb9a083dd60c84f523e1cb /modules/commands/cs_seen.cpp | |
parent | 492eac20a8e2dfdbdbd5a83e41ed880af76cff79 (diff) |
Fix not setting the correct compile flags on modules and fix the resulting warnings
Diffstat (limited to 'modules/commands/cs_seen.cpp')
-rw-r--r-- | modules/commands/cs_seen.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/commands/cs_seen.cpp b/modules/commands/cs_seen.cpp index 48231576e..7fa7d3c7a 100644 --- a/modules/commands/cs_seen.cpp +++ b/modules/commands/cs_seen.cpp @@ -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;) |