fixed cfg database calling for mysql function (issue #45)
This commit is contained in:
parent
5dcc5d2a82
commit
63d66463d7
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue