From a1a722e0cd7aa37f35883316136629163ef0624e Mon Sep 17 00:00:00 2001 From: Firepup Sixfifty Date: Tue, 30 Apr 2024 21:08:41 -0500 Subject: [PATCH] idk where I copied that from? --- handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/handlers.py b/handlers.py index a419f18..4a3e513 100644 --- a/handlers.py +++ b/handlers.py @@ -174,7 +174,7 @@ def PART(bot: bare.bot, msg: str) -> tuple[None, None]: def QUIT(bot: bare.bot, msg: str) -> tuple[None, None]: if bot.server == "replirc": - quitter = msg.split(" ", 2)[1].strip() + quitter = msg.split(" ", 2)[0][1:].strip() bot.log("Someone quit - " + quitter) if quitter == "FireMCBot": bot.send("TOPIC #firemc :FireMC Relay channel (offline)\n")