1
0
mirror of https://github.com/anope/anope.git synced 2026-07-10 04:03:13 +02:00

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.

This commit is contained in:
Adam
2013-12-22 08:34:57 -05:00
parent 1c02961b60
commit c442bc18af
2 changed files with 31 additions and 14 deletions
+1 -1
View File
@@ -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)
{