summaryrefslogtreecommitdiff
path: root/modules/commands/bs_badwords.cpp
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2013-09-27 15:54:21 -0400
committerAdam <Adam@anope.org>2013-09-27 19:11:02 -0400
commitb319fb089c144312ab9141d6f6469d50d9d7a1ea (patch)
treeb6da2ec3a23ff7f2da9ae6ce35d591faa6f57d72 /modules/commands/bs_badwords.cpp
parent17196887ad1e6f9886c6cd3109bd8ede16ae7343 (diff)
Fix compile warnings and errors found by clang
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