Skip to content

Commit fb8bae8

Browse files
authored
admin/admin2: Fix bans warning (#343)
* admin: remove use of undeclared variable * admin2: remove use of undeclared variable
1 parent f22f501 commit fb8bae8

File tree

2 files changed

+0
-4
lines changed

2 files changed

+0
-4
lines changed

[admin]/admin/client/gui/admin_ban.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -92,8 +92,6 @@ function aClientBanClick ( button )
9292
if ( button == "left" ) then
9393
if ( source == aBanClose ) then
9494
aBanDetailsClose ( false )
95-
elseif ( source == aBanUnban ) then
96-
triggerEvent ( "onClientGUIClick", aTab4.BansUnban, "left" )
9795
elseif ( source == aBanCopy ) then
9896
setClipboard( clipContent[2] )
9997
outputChatBox( "Successfully copied the " .. clipContent[1] .. " into clipboard.", 255, 100, 70 )

[admin]/admin2/client/widgets/admin_ban.lua

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -91,8 +91,6 @@ function aClientBanClick(button)
9191
if (button == "left") then
9292
if (source == aBanClose) then
9393
aBanDetailsClose(false)
94-
elseif (source == aBanUnban) then
95-
triggerEvent("onClientGUIClick", aTab4.BansUnban, "left")
9694
end
9795
end
9896
end

0 commit comments

Comments
 (0)