From b9113c4fc86f4ac443d3e188172a021571e8eb82 Mon Sep 17 00:00:00 2001 From: root Date: Thu, 31 Oct 2024 20:24:46 +0300 Subject: [PATCH] fix anope config --- anope/anope.conf | 4 ++-- anope/include.default.conf | 19 +++++-------------- 2 files changed, 7 insertions(+), 16 deletions(-) diff --git a/anope/anope.conf b/anope/anope.conf index 4b906fe..4e697b0 100644 --- a/anope/anope.conf +++ b/anope/anope.conf @@ -12,7 +12,7 @@ options group = "anope" casemap = "ascii" badpasslimit = 5 - badpasstimeout = 1h + badpasstimeout = 1m updatetimeout = 2m expiretimeout = 30m readtimeout = 5s @@ -1137,7 +1137,7 @@ module confirmemailchanges = no unregistered_notice = "Your nickname is not registered. To register it, use: /msg NickServ HELP REGISTER" defaults = "killprotect ns_private hide_email hide_mask memo_signon memo_receive autoop" - regdelay = 5m + regdelay = 0m expire = 32y secureadmins = yes modeonid = yes diff --git a/anope/include.default.conf b/anope/include.default.conf index 9b4ff07..cd1e458 100644 --- a/anope/include.default.conf +++ b/anope/include.default.conf @@ -88,19 +88,10 @@ oper module { - name = "sqlite" - sqlite - { - name = "sqlite/main" - database = "/var/lib/anope/anope.db" - } + name = "db_flatfile" + database = "/var/lib/anope/anope.db" + fork = no + nobackupokay = yes + keepbackups = 3 } -module -{ - name = "db_flatfile" - database = "anope.db" - keepbackups = 32 - nobackupokay = no - fork = no -}