Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
Fix "vRP/add_identifier" ignore ip check.
- Loading branch information
Imagic
committed
Aug 16, 2017
1 parent
a8ba7f8
commit 146b71c
Showing
1 changed file
with
3 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
146b71cThere was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I managed to fix this problem with this.
resources\vrp\base.lua at line 87;
previously:
vRP.prepare("vRP/create_user","INSERT INTO vrp_users(whitelisted,banned) VALUES(false,false); SELECT LAST_INSERT_ID() AS id")
after:
vRP.prepare("vRP/create_user","INSERT INTO vrp_users(whitelisted,banned,last_login,ip) VALUES(false,false,false,false); SELECT LAST_INSERT_ID() AS id")