/* call-seq:
 *      event_data.allow? -> true or false
 *
 * Returns true if the player is allowed to join , false if not.
 */

static VALUE 
allowPlayerEventData_isAllow(VALUE self)
{
        bz_AllowPlayerEventData *eventData;

        Data_Get_Struct(self, bz_AllowPlayerEventData, eventData);
        
        if (eventData->allow)
                return Qtrue;

        return Qfalse;
}