Browse Source

resetAccess now returns the correct value.

pull/3/head
JustinAJ 10 years ago
parent
commit
8f650b43fe
  1. 2
      RenX.ModSystem/RenX_ModSystem.cpp

2
RenX.ModSystem/RenX_ModSystem.cpp

@ -144,7 +144,7 @@ bool RenX_ModSystemPlugin::resetAccess(RenX::PlayerInfo *player)
player->access = groups.get(0)->access;
else
player->access = 0;
return player->access == oAccess;
return player->access != oAccess;
}
int RenX_ModSystemPlugin::auth(RenX::Server *server, const RenX::PlayerInfo *player, bool checkAuto, bool forceAuth) const

Loading…
Cancel
Save