@@ -26,7 +26,7 @@ hook.Add( "player_connect_client", "CustomChat.ShowConnectMessages", function( d
26
26
local steamId = data .networkid
27
27
local isBot = data .bot == 1
28
28
29
- if ( isBot and ( not JoinLeave .botConnectDisconnect )) then return end
29
+ if isBot and not JoinLeave .botConnectDisconnect then return end
30
30
31
31
-- Only use a player block if Custom Chat is enabled
32
32
if CustomChat .IsEnabled () then
@@ -57,7 +57,7 @@ hook.Add( "player_disconnect", "CustomChat.ShowDisconnectMessages", function( da
57
57
local steamId = data .networkid
58
58
local isBot = data .bot == 1
59
59
60
- if ( isBot and ( not JoinLeave .botConnectDisconnect )) then return end
60
+ if isBot and not JoinLeave .botConnectDisconnect then return end
61
61
62
62
-- Only use a player block if Custom Chat is enabled
63
63
if CustomChat .IsEnabled () then
@@ -82,7 +82,7 @@ hook.Add( "player_disconnect", "CustomChat.ShowDisconnectMessages", function( da
82
82
end , HOOK_LOW )
83
83
84
84
local function OnPlayerActivated ( ply , steamId , name , color , absenceLength )
85
- if ( ply :IsBot () and ( not JoinLeave .botConnectDisconnect )) then return end
85
+ if ply :IsBot () and not JoinLeave .botConnectDisconnect then return end
86
86
87
87
-- Only use a player block if Custom Chat is enabled
88
88
if CustomChat .IsEnabled () then
0 commit comments