mirror of
https://github.com/etlegacy/wolfadmin.git
synced 2024-11-10 06:41:53 +00:00
fixed cfg database calling for mysql function (issue #45)
This commit is contained in:
parent
5dcc5d2a82
commit
63d66463d7
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue