summaryrefslogtreecommitdiff
path: root/modules/commands/bs_badwords.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/commands/bs_badwords.cpp')
-rw-r--r--modules/commands/bs_badwords.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/commands/bs_badwords.cpp b/modules/commands/bs_badwords.cpp
index 41cfb7f4c..406ec0f03 100644
--- a/modules/commands/bs_badwords.cpp
+++ b/modules/commands/bs_badwords.cpp
@@ -202,10 +202,9 @@ class CommandBSBadwords : public Command
class BadwordsListCallback : public NumberList
{
ListFormatter &list;
- ChannelInfo *ci;
BadWords *bw;
public:
- BadwordsListCallback(ListFormatter &_list, ChannelInfo *_ci, BadWords *_bw, const Anope::string &numlist) : NumberList(numlist, false), list(_list), ci(_ci), bw(_bw)
+ BadwordsListCallback(ListFormatter &_list, BadWords *_bw, const Anope::string &numlist) : NumberList(numlist, false), list(_list), bw(_bw)
{
}
@@ -222,7 +221,7 @@ class CommandBSBadwords : public Command
this->list.AddEntry(entry);
}
}
- nl_list(list, ci, bw, word);
+ nl_list(list, bw, word);
nl_list.Process();
}
else