When I was in a class of his, he was giving examples of sins (or things that were not sins) to us in his class.
Well I was reading the canon and it says,
Canon 984: §1.** A confessor is prohibited completely from using knowledge acquired from confession to the detriment of the penitent even when any danger of revelation is excluded. **§2. A person who has been placed in authority cannot use in any manner for external goverance the knowledge about sins which he has received in confession at any time.
Does this mean that my priest received an automatic excommunication, since he used knowledge acquired from a confession?