diff options
Diffstat (limited to 'src/modes/cmode_b.cpp')
-rw-r--r-- | src/modes/cmode_b.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modes/cmode_b.cpp b/src/modes/cmode_b.cpp index 4192a95ce..171727bf3 100644 --- a/src/modes/cmode_b.cpp +++ b/src/modes/cmode_b.cpp @@ -29,7 +29,7 @@ ModeChannelBan::ModeChannelBan(InspIRCd* Instance) : ModeHandler(Instance, 'b', { } -ModeAction ModeChannelBan::OnModeChange(User* source, User* dest, Channel* channel, std::string ¶meter, bool adding) +ModeAction ModeChannelBan::OnModeChange(User* source, User*, Channel* channel, std::string ¶meter, bool adding) { int status = channel->GetStatus(source); /* Call the correct method depending on wether we're adding or removing the mode */ @@ -67,7 +67,7 @@ void ModeChannelBan::RemoveMode(Channel* channel) } } -void ModeChannelBan::RemoveMode(User* user) +void ModeChannelBan::RemoveMode(User*) { } @@ -87,7 +87,7 @@ void ModeChannelBan::DisplayEmptyList(User* user, Channel* channel) user->WriteServ("368 %s %s :End of channel ban list",user->nick, channel->name); } -std::string& ModeChannelBan::AddBan(User *user,std::string &dest,Channel *chan,int status) +std::string& ModeChannelBan::AddBan(User *user, std::string &dest, Channel *chan, int) { if ((!user) || (!chan)) { @@ -142,7 +142,7 @@ std::string& ModeChannelBan::AddBan(User *user,std::string &dest,Channel *chan,i return dest; } -ModePair ModeChannelBan::ModeSet(User* source, User* dest, Channel* channel, const std::string ¶meter) +ModePair ModeChannelBan::ModeSet(User*, User*, Channel* channel, const std::string ¶meter) { for (BanList::iterator i = channel->bans.begin(); i != channel->bans.end(); i++) { @@ -154,7 +154,7 @@ ModePair ModeChannelBan::ModeSet(User* source, User* dest, Channel* channel, con return std::make_pair(false, parameter); } -std::string& ModeChannelBan::DelBan(User *user,std::string& dest,Channel *chan,int status) +std::string& ModeChannelBan::DelBan(User *user, std::string& dest, Channel *chan, int) { if ((!user) || (!chan)) { |