From da7bcf15846d764d45449e1af907438033242097 Mon Sep 17 00:00:00 2001 From: Kalila <69767640+digisomni@users.noreply.github.com> Date: Thu, 18 Mar 2021 17:53:21 -0400 Subject: [PATCH] Update NodeList.cpp --- libraries/networking/src/NodeList.cpp | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/libraries/networking/src/NodeList.cpp b/libraries/networking/src/NodeList.cpp index e67423a24a..b6660e6c59 100644 --- a/libraries/networking/src/NodeList.cpp +++ b/libraries/networking/src/NodeList.cpp @@ -1273,17 +1273,6 @@ void NodeList::kickNodeBySessionID(const QUuid& nodeID, int banFlags) { // setup the packet auto kickPacket = NLPacket::create(PacketType::NodeKickRequest, NUM_BYTES_RFC4122_UUID + sizeof(int), true); - //int banParameters {}; - //if (banByUsername) { - // banParameters |= ModerationFlags::BanFlags::BAN_BY_USERNAME; - //} - //if (banByFingerprint) { - // banParameters |= ModerationFlags::BanFlags::BAN_BY_FINGERPRINT; - //} - //if (banByIP) { - // banParameters |= ModerationFlags::BanFlags::BAN_BY_IP; - //} - // write the node ID to the packet kickPacket->write(nodeID.toRfc4122()); // write the ban parameters to the packet