mirror of
https://github.com/anope/anope.git
synced 2026-06-28 07:36:37 +02:00
Enable activate_on_set by default.
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user