From 00256fdba85e670f0cd41359a38a599272f70678 Mon Sep 17 00:00:00 2001 From: Adam Date: Wed, 24 Oct 2012 23:30:21 -0400 Subject: [PATCH] Made access provider modules permanent. They don't cleanup their access entries currently and if they did it would delete them. --- modules/commands/cs_access.cpp | 1 + modules/commands/cs_flags.cpp | 2 +- modules/commands/cs_xop.cpp | 1 + 3 files changed, 3 insertions(+), 1 deletion(-) 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); } };