fix anope config

This commit is contained in:
root 2024-10-31 20:24:46 +03:00
parent cb3f82a66b
commit b9113c4fc8
2 changed files with 7 additions and 16 deletions

View File

@ -12,7 +12,7 @@ options
group = "anope" group = "anope"
casemap = "ascii" casemap = "ascii"
badpasslimit = 5 badpasslimit = 5
badpasstimeout = 1h badpasstimeout = 1m
updatetimeout = 2m updatetimeout = 2m
expiretimeout = 30m expiretimeout = 30m
readtimeout = 5s readtimeout = 5s
@ -1137,7 +1137,7 @@ module
confirmemailchanges = no confirmemailchanges = no
unregistered_notice = "Your nickname is not registered. To register it, use: /msg NickServ HELP REGISTER" 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" defaults = "killprotect ns_private hide_email hide_mask memo_signon memo_receive autoop"
regdelay = 5m regdelay = 0m
expire = 32y expire = 32y
secureadmins = yes secureadmins = yes
modeonid = yes modeonid = yes

View File

@ -88,19 +88,10 @@ oper
module module
{ {
name = "sqlite" name = "db_flatfile"
sqlite database = "/var/lib/anope/anope.db"
{ fork = no
name = "sqlite/main" nobackupokay = yes
database = "/var/lib/anope/anope.db" keepbackups = 3
}
} }
module
{
name = "db_flatfile"
database = "anope.db"
keepbackups = 32
nobackupokay = no
fork = no
}