diff options
author | DukePyrolator <DukePyrolator@anope.org> | 2013-10-16 06:03:48 +0200 |
---|---|---|
committer | DukePyrolator <DukePyrolator@anope.org> | 2013-10-26 18:33:07 +0200 |
commit | 2cfc97053faba7582cd57701900de78ebacb12ce (patch) | |
tree | f72e04a159fb5a0e359aeebcf32e9f30a7b7c111 /modules/database/db_sql_live.cpp | |
parent | 6cde65a57f60228d15a9d993a31ecf9bf624f592 (diff) |
moved some config options from example.conf to nickserv.example.conf
Diffstat (limited to 'modules/database/db_sql_live.cpp')
-rw-r--r-- | modules/database/db_sql_live.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/database/db_sql_live.cpp b/modules/database/db_sql_live.cpp index f74933b98..b9b8ef57c 100644 --- a/modules/database/db_sql_live.cpp +++ b/modules/database/db_sql_live.cpp @@ -27,7 +27,7 @@ class DBMySQL : public Module, public Pipe } else { - if (Anope::CurTime - Config->GetBlock("options")->Get<time_t>("updatetimeout") > lastwarn) + if (Anope::CurTime - Config->GetBlock("options")->Get<time_t>("updatetimeout", "5m") > lastwarn) { Log() << "Unable to locate SQL reference, going to readonly..."; Anope::ReadOnly = this->ro = true; |