School punishes pastor