diff options
author | Sadie Powell <sadie@witchery.services> | 2025-01-13 14:38:15 +0000 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2025-01-13 14:38:15 +0000 |
commit | 97589e5c623bab4caad7d0043cd10ef4191dd44f (patch) | |
tree | 0d9c75a3c1f8d51eb51ee1506c098df6085758c3 /modules/hostserv/hostserv.cpp | |
parent | 098074ba8b18d53a4620464795e81aa052c285f9 (diff) |
Enable activate_on_set by default.
Diffstat (limited to 'modules/hostserv/hostserv.cpp')
-rw-r--r-- | modules/hostserv/hostserv.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/hostserv/hostserv.cpp b/modules/hostserv/hostserv.cpp index 82273f4e5..fb8b3491c 100644 --- a/modules/hostserv/hostserv.cpp +++ b/modules/hostserv/hostserv.cpp @@ -95,7 +95,7 @@ public: void OnSetVHost(NickAlias *na) override { - if (Config->GetModule(this)->Get<bool>("activate_on_set")) + if (Config->GetModule(this)->Get<bool>("activate_on_set", "yes")) { User *u = User::Find(na->nick); @@ -120,7 +120,7 @@ public: void OnDeleteVHost(NickAlias *na) override { - if (Config->GetModule(this)->Get<bool>("activate_on_set")) + if (Config->GetModule(this)->Get<bool>("activate_on_set", "yes")) { User *u = User::Find(na->nick); |