diff options
Diffstat (limited to 'modules/botserv/bs_badwords.cpp')
-rw-r--r-- | modules/botserv/bs_badwords.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/botserv/bs_badwords.cpp b/modules/botserv/bs_badwords.cpp index 5301fd042..95f749488 100644 --- a/modules/botserv/bs_badwords.cpp +++ b/modules/botserv/bs_badwords.cpp @@ -286,14 +286,14 @@ private: realword = word.substr(0, pos); } - unsigned badwordsmax = Config->GetModule(this->module)->Get<unsigned>("badwordsmax"); + unsigned badwordsmax = Config->GetModule(this->module).Get<unsigned>("badwordsmax"); if (badwords->GetBadWordCount() >= badwordsmax) { source.Reply(_("Sorry, you can only have %d bad words entries on a channel."), badwordsmax); return; } - bool casesensitive = Config->GetModule(this->module)->Get<bool>("casesensitive"); + bool casesensitive = Config->GetModule(this->module).Get<bool>("casesensitive"); for (unsigned i = 0, end = badwords->GetBadWordCount(); i < end; ++i) { |