diff options
Diffstat (limited to 'src/modes/cmode_v.cpp')
-rw-r--r-- | src/modes/cmode_v.cpp | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/modes/cmode_v.cpp b/src/modes/cmode_v.cpp index b791f5574..6e5ebd0a9 100644 --- a/src/modes/cmode_v.cpp +++ b/src/modes/cmode_v.cpp @@ -33,24 +33,6 @@ unsigned int ModeChannelVoice::GetPrefixRank() return VOICE_VALUE; } -ModePair ModeChannelVoice::ModeSet(User*, User*, Channel* channel, const std::string ¶meter) -{ - User* x = ServerInstance->FindNick(parameter); - if (x) - { - Membership* memb = channel->GetUser(x); - if (memb && memb->hasMode('v')) - { - return std::make_pair(true, x->nick); - } - else - { - return std::make_pair(false, parameter); - } - } - return std::make_pair(false, parameter); -} - void ModeChannelVoice::RemoveMode(Channel* channel, irc::modestacker* stack) { const UserMembList* clist = channel->GetUsers(); |