Closed Charlese2 closed 2 years ago
One of these two pointers are pointing to null address
https://github.com/Razish/japp/blob/master/game/g_admin.cpp#L657
Upon further inspection, they have to slap an admin or it doesn't reach the null pointer reference.
Fixed, temporary granted permissions now assume the lowest rank (< 0) and so can't affect other admins. Commit incoming.
If you grant permissions to a user with
amgrant
and they try to slap an admin, it crashes the server.adminUser
is null if they are only granted permissions, but it tries to get therank
value from the struct.