fixed cfg database calling for mysql function (issue #45)

This commit is contained in:
Timo Smit 2016-02-13 12:22:24 +01:00
parent 5dcc5d2a82
commit 63d66463d7

View file

@ -118,7 +118,7 @@ function cfg.getplayerid(clientid)
return clientid
end
function mysql.isplayerbot(clientid)
function cfg.isplayerbot(clientid)
return string.match(stats.get(clientid, "playerGUID"), 'OMNIBOT%d%d%d+')
end