diff options
| author | Sadie Powell <sadie@witchery.services> | 2024-03-09 11:39:03 +0000 |
|---|---|---|
| committer | Sadie Powell <sadie@witchery.services> | 2024-03-09 11:43:38 +0000 |
| commit | 12486f6ceedf9b3f3ee90c72f4b61c1aef931656 (patch) | |
| tree | 6595b82274a75d15c05187460dcfa65bd58e56a8 /modules/operserv | |
| parent | 891375baca44d1b18e60505ecf6ae52bf2c46e29 (diff) | |
Tweak the config default limits slightly.
Diffstat (limited to 'modules/operserv')
| -rw-r--r-- | modules/operserv/os_forbid.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/operserv/os_forbid.cpp b/modules/operserv/os_forbid.cpp index 4b19fbc4d..bb014c158 100644 --- a/modules/operserv/os_forbid.cpp +++ b/modules/operserv/os_forbid.cpp @@ -285,7 +285,7 @@ public: BotInfo *OperServ = Config->GetClient("OperServ"); if (IRCD->CanSQLineChannel && OperServ) { - time_t inhabit = Config->GetModule("chanserv")->Get<time_t>("inhabit", "15s"); + time_t inhabit = Config->GetModule("chanserv")->Get<time_t>("inhabit", "1m"); XLine x(c->name, OperServ->nick, Anope::CurTime + inhabit, d->reason); IRCD->SendSQLine(NULL, &x); } @@ -486,7 +486,7 @@ public: ServiceReference<ChanServService> chanserv("ChanServService", "ChanServ"); if (IRCD->CanSQLineChannel) { - time_t inhabit = Config->GetModule("chanserv")->Get<time_t>("inhabit", "15s"); + time_t inhabit = Config->GetModule("chanserv")->Get<time_t>("inhabit", "1m"); XLine x(c->name, OperServ->nick, Anope::CurTime + inhabit, d->reason); IRCD->SendSQLine(NULL, &x); } |
