-void ModeChannelKey::RemoveMode(Channel* channel)
-{
- /** +k needs a parameter when being removed,
- * so we have a special-case RemoveMode here for it
- */
- char moderemove[MAXBUF];
- const char* parameters[] = { channel->name, moderemove, channel->key };
-
- if (channel->IsModeSet(this->GetModeChar()))
- {
- sprintf(moderemove,"-%c",this->GetModeChar());
- ServerInstance->SendMode(parameters, 3, ServerInstance->FakeClient);
- }
-}
-
-void ModeChannelKey::RemoveMode(User* user)
-{
-}