From 97589e5c623bab4caad7d0043cd10ef4191dd44f Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Mon, 13 Jan 2025 14:38:15 +0000 Subject: Enable activate_on_set by default. --- modules/hostserv/hostserv.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'modules/hostserv') 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("activate_on_set")) + if (Config->GetModule(this)->Get("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("activate_on_set")) + if (Config->GetModule(this)->Get("activate_on_set", "yes")) { User *u = User::Find(na->nick); -- cgit