diff --git a/lua/cfc_disconnect_interface/client/cl_interface.lua b/lua/cfc_disconnect_interface/client/cl_interface.lua index 83796e8..986399e 100644 --- a/lua/cfc_disconnect_interface/client/cl_interface.lua +++ b/lua/cfc_disconnect_interface/client/cl_interface.lua @@ -262,8 +262,6 @@ local function addButtonsBar( frame ) -- Put buttons onto the panel as members for easy access barPanel.reconBtn = makeButton( barPanel, "AUTO-RECONNECT", 0.25, function( self ) - local confirmDisconnect = barPanel.confirmDisconnect - if barPanel.confirmDisconnect then showMessage( "Disconnecting..." ) barPanel.disconBtn:SetDisabled( true )