14.12.2013, 02:42
Are you sure it even successfully queries? Check the database and see if it changes your admin level in your database. What may be causing you to just receive your admin temporarily before relogging is when you set:
pInfo[target][pAdmin] = level;
However if the query didn't go through successfully, that code above is useless as it doesn't save in the database to load next time the user logs in.
pInfo[target][pAdmin] = level;
However if the query didn't go through successfully, that code above is useless as it doesn't save in the database to load next time the user logs in.