/* call-seq:
 *      event_data.duration -> Float
 *
 * Returns the duration of the ban in minutes. 
 * */

static VALUE 
banEventData_getDuration(VALUE self)
{
        bz_BanEventData *eventData;

        Data_Get_Struct(self, bz_BanEventData, eventData);
        
        return rb_float_new(eventData->duration);
}