From 2cfc97053faba7582cd57701900de78ebacb12ce Mon Sep 17 00:00:00 2001 From: DukePyrolator Date: Wed, 16 Oct 2013 06:03:48 +0200 Subject: moved some config options from example.conf to nickserv.example.conf --- modules/database/db_sql_live.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/database') 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("updatetimeout") > lastwarn) + if (Anope::CurTime - Config->GetBlock("options")->Get("updatetimeout", "5m") > lastwarn) { Log() << "Unable to locate SQL reference, going to readonly..."; Anope::ReadOnly = this->ro = true; -- cgit