From 92f1d2ad0f74cc0b689e57eac37b0d4994bdd582 Mon Sep 17 00:00:00 2001 From: Jeff Date: Sat, 13 Jul 2024 07:52:37 -0400 Subject: [PATCH] Remove an irrelevant comment --- src/bot.rs | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/bot.rs b/src/bot.rs index 7d7e0b9..fdb5175 100644 --- a/src/bot.rs +++ b/src/bot.rs @@ -170,9 +170,6 @@ impl Bot { } TradeMode::Trade => self.handle_trade(trade.clone())?, } - // The extra check for outgoing invites ensures that the bot doesn't give admin access - // to a non-admin user. This cannot happen because the bot doesn't send invites in - // Trade mode but the code is here to be extra safe for future refactoring. } else if self.client.pending_invites().is_empty() { match self.trade_mode { TradeMode::AdminAccess => {