/* call-seq:
 *      bz_grant_perm(player_id, permission) -> true or false
 *
 *      This method grants the player the given permission and
 *      returns true on success, false on failure.
 */

static VALUE
bzflag_bz_grantPerm(VALUE self, VALUE playerID , VALUE perm)
{

        if (bz_grantPerm(FIX2INT(playerID), RSTRING(StringValue(perm))->ptr))
                return Qtrue;

        return Qfalse;

}