diff options
author | Adam <Adam@anope.org> | 2012-10-24 23:30:21 -0400 |
---|---|---|
committer | Adam <Adam@anope.org> | 2012-10-24 23:30:21 -0400 |
commit | 00256fdba85e670f0cd41359a38a599272f70678 (patch) | |
tree | b28156372a5aa0131a769373b1be98d8e8cb85f2 | |
parent | 3b8fb7bb88cf0104040ad4a5039a3eeb293c99d4 (diff) |
Made access provider modules permanent. They don't cleanup their access entries currently and if they did it would delete them.
-rw-r--r-- | modules/commands/cs_access.cpp | 1 | ||||
-rw-r--r-- | modules/commands/cs_flags.cpp | 2 | ||||
-rw-r--r-- | modules/commands/cs_xop.cpp | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/modules/commands/cs_access.cpp b/modules/commands/cs_access.cpp index 9ad72623f..295321f8b 100644 --- a/modules/commands/cs_access.cpp +++ b/modules/commands/cs_access.cpp @@ -789,6 +789,7 @@ class CSAccess : public Module accessprovider(this), commandcsaccess(this), commandcslevels(this) { this->SetAuthor("Anope"); + this->SetPermanent(true); Implementation i[] = { I_OnReload, I_OnCreateChan, I_OnGroupCheckPriv }; ModuleManager::Attach(i, this, sizeof(i) / sizeof(Implementation)); diff --git a/modules/commands/cs_flags.cpp b/modules/commands/cs_flags.cpp index 633ebd734..c137b55b1 100644 --- a/modules/commands/cs_flags.cpp +++ b/modules/commands/cs_flags.cpp @@ -391,7 +391,7 @@ class CSFlags : public Module accessprovider(this), commandcsflags(this) { this->SetAuthor("Anope"); - + this->SetPermanent(true); Implementation i[] = { I_OnReload }; ModuleManager::Attach(i, this, 1); diff --git a/modules/commands/cs_xop.cpp b/modules/commands/cs_xop.cpp index 884d7e437..aa04b8d28 100644 --- a/modules/commands/cs_xop.cpp +++ b/modules/commands/cs_xop.cpp @@ -857,6 +857,7 @@ class CSXOP : public Module accessprovider(this), commandcsqop(this), commandcssop(this), commandcsaop(this), commandcshop(this), commandcsvop(this) { this->SetAuthor("Anope"); + this->SetPermanent(true); } }; |