summaryrefslogtreecommitdiff
path: root/modules/commands/bs_badwords.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-12-22 08:34:57 -0500
committerAdam <Adam@anope.org>2013-12-22 08:37:49 -0500
commitc442bc18afefff6661b1108a4980e2a4f3c8e36d (patch)
tree515825b3926f936d3dfaaf50efede1cb7bb4ea34 /modules/commands/bs_badwords.cpp
parent1c02961b600311d55e36230c2ac0dc8a878ff9bc (diff)
Do not allow /cs clone access to add duplicate masks to the access list or allow growing the list pass accessmax. Fix reading botservs case sensitive config option. Give a better error message when trying to clone badwords if there is no botserv.
Diffstat (limited to 'modules/commands/bs_badwords.cpp')
-rw-r--r--modules/commands/bs_badwords.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/commands/bs_badwords.cpp b/modules/commands/bs_badwords.cpp
index 406ec0f03..47b68aadd 100644
--- a/modules/commands/bs_badwords.cpp
+++ b/modules/commands/bs_badwords.cpp
@@ -286,7 +286,7 @@ class CommandBSBadwords : public Command
return;
}
- bool casesensitive = Config->GetModule("botserv")->Get<bool>("casesensitive");
+ bool casesensitive = Config->GetModule(this->module)->Get<bool>("casesensitive");
for (unsigned i = 0, end = badwords->GetBadWordCount(); i < end; ++i)
{