Closed gene1wood closed 6 years ago
This conditional doesn't work
if not usergrp == "" or not usergrp == nil then
This evaluates with lua precedence like this
if ((not usergrp) == "") or ((not usergrp )== nil) then
which means that if usergrp contains a table, this conditional still evaluates to false
usergrp
false
This needs to be like this instead
if usergrp ~= "" and usergrp ~= nil then
This conditional doesn't work
This evaluates with lua precedence like this
which means that if
usergrp
contains a table, this conditional still evaluates tofalse
This needs to be like this instead