forked from TeamUlysses/ulx
Add drop table for bans when resettodefaults
This commit is contained in:
parent
c9fa7e9a0c
commit
c95969a766
@ -397,6 +397,10 @@ function ulx.resettodefaults( calling_ply, param )
|
||||
ULib.fileDelete( "data/ulib/groups.txt" )
|
||||
ULib.fileDelete( "data/ulib/misc_registered.txt" )
|
||||
ULib.fileDelete( "data/ulib/users.txt" )
|
||||
|
||||
if sql.TableExists( "ulib_bans" ) then
|
||||
sql.Query( "DROP TABLE ulib_bans" )
|
||||
end
|
||||
|
||||
local str = "Please change levels to finish the reset"
|
||||
if calling_ply:IsValid() then
|
||||
|
Loading…
Reference in New Issue
Block a user