diff options
Diffstat (limited to 'src/modes/cmode_v.cpp')
-rw-r--r-- | src/modes/cmode_v.cpp | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/src/modes/cmode_v.cpp b/src/modes/cmode_v.cpp index 61387ce83..2371ca2fa 100644 --- a/src/modes/cmode_v.cpp +++ b/src/modes/cmode_v.cpp @@ -41,25 +41,6 @@ unsigned int ModeChannelVoice::GetPrefixRank() return VOICE_VALUE; } -void ModeChannelVoice::RemoveMode(Channel* channel, irc::modestacker* stack) -{ - const UserMembList* clist = channel->GetUsers(); - - for (UserMembCIter i = clist->begin(); i != clist->end(); i++) - { - if (stack) - stack->Push(this->GetModeChar(), i->first->nick); - else - { - std::vector<std::string> parameters; - parameters.push_back(channel->name); - parameters.push_back("-v"); - parameters.push_back(i->first->nick); - ServerInstance->SendMode(parameters, ServerInstance->FakeClient); - } - } -} - void ModeChannelVoice::RemoveMode(User*, irc::modestacker* stack) { } |