Skip to content

Commit 1f9e0a3

Browse files
committed
Update v2.4.9
1 parent 7ae32f1 commit 1f9e0a3

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

fxmanifest.lua

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ games { 'gta5' }
44
author 'Musiker15 - MSK Scripts'
55
name 'msk_core'
66
description 'Functions for MSK Scripts'
7-
version '2.4.8'
7+
version '2.4.9'
88

99
lua54 'yes'
1010

server/functions/bansystem.lua

+2-5
Original file line numberDiff line numberDiff line change
@@ -86,12 +86,9 @@ local formatTime = function(time)
8686
return banTime, os.date('%d-%m-%Y %H:%M', banTime)
8787
end
8888

89-
RegisterCommand('isBanned', function(source, args)
90-
local isBanned, expired = MSK.IsPlayerBanned(source)
91-
print('isBanned', isBanned, expired)
92-
end)
93-
9489
local IsTokenMatching = function(token, tokens)
90+
if not tokens then return false end
91+
9592
for i = 0, #tokens do
9693
if tokens[i] == token then
9794
return true

0 commit comments

Comments
 (0)