/* call-seq: * player.revoke_perm(String perm) -> true or false * * This method revokes the specified perm to the player and * returns true on success, false if unsuccesfull. */ static VALUE playerRecord_setRevokePerm(VALUE self, VALUE perm) { bz_PlayerRecord *playerRecord; Data_Get_Struct(self, bz_PlayerRecord, playerRecord); if (bz_revokePerm(playerRecord->playerID, RSTRING(StringValue(perm))->ptr)) return Qtrue; return Qfalse; }