ULX resettodefaults does not clear ban database after SQL migration.
Codingale opened this issue · comments
Codingale commented
Description
Since TeamUlysses/ulib@0b4cdd0 the database has been SQL based however the resettodefaults command was not also updated.
ulx/lua/ulx/modules/sh/util.lua
Line 396 in afca346
Expected behavior
resettodefaults should reset the ban database, but since it was migrated to SQL it was not updated to clear the table.
Actual behavior
It just deletes the bans.txt
file, and does not clear SQL.
Writing this really late after a long day, so pardon me if I'm mistaken, I haven't actually tried it but I think I understand this correctly.
Zach P. commented
Fixed in v3.81