/* call-seq: * player.op? -> true or false * * This method returns true if the player is an operator, else it * returns false */ static VALUE playerRecord_isOp(VALUE self) { bz_PlayerRecord *playerRecord; Data_Get_Struct(self, bz_PlayerRecord, playerRecord); if (playerRecord->op) return Qtrue; return Qfalse; }