From 0e3dc1a13af8f6d6a63f2b142f0bfc2d46790398 Mon Sep 17 00:00:00 2001 From: cidoku Date: Thu, 13 Mar 2025 04:08:13 -0300 Subject: [PATCH] whoops --- packets.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/packets.py b/packets.py index 523c3fb..77a539f 100644 --- a/packets.py +++ b/packets.py @@ -118,13 +118,13 @@ def handle_packets(caller, total, record=True): statusStrings = ["You have logged out", "Wrong password", "Logged in"] if status == 1: caller.parent.login = True - caller.parent.playerKick.setDisabled(False) - caller.parent.playerBan.setDisabled(False) + caller.parent.player_kick.setDisabled(False) + caller.parent.player_ban.setDisabled(False) caller.parent.ooclogin.setText("Lo&g out") elif status == -1: caller.parent.login = False - caller.parent.playerKick.setDisabled(True) - caller.parent.playerBan.setDisabled(True) + caller.parent.player_kick.setDisabled(True) + caller.parent.player_ban.setDisabled(True) caller.parent.ooclogin.setText("Lo&gin") caller.OOC_Log.emit("%s" % (statusStrings[status+1]))