Skip to content

Commit

Permalink
Merge pull request #2907 from nykeztv/master
Browse files Browse the repository at this point in the history
Update sv_antimultirun.lua
  • Loading branch information
FPtje committed May 26, 2019
2 parents 00afeb8 + 3e2f7f1 commit c639ab9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gamemode/modules/workarounds/sv_antimultirun.lua
Expand Up @@ -31,8 +31,8 @@ local function addHooks()
local userid = ply:UserID()

MySQLite.queryValue(string.format([[
SELECT serverid FROM darkrp_serverplayer WHERE serverid = %s AND uid = %s
]], MySQLite.SQLStr(DarkRP.serverId), uid), function(sid)
SELECT serverid FROM darkrp_serverplayer WHERE uid = %s
]], uid), function(sid)
if sid then
game.KickID(userid, kickMessage)
else
Expand Down

0 comments on commit c639ab9

Please sign in to comment.