// Copyright (c) 2014, Christopher "blay09" Baker
// All rights reserved.
package net.blay09.mods.eirairc.api.event;

import cpw.mods.fml.common.eventhandler.Event;
import net.minecraft.util.IChatComponent;

/**
 * This event is published on the MinecraftForge.EVENTBUS bus for every text component in a message EiraIRC has received.
 * It will not be posted for components handled by EiraIRC, such as links or @Mentions.
 * Mods adding emoticons can use this to make their magic happen and adjust the chat component as needed.
 */
public class ApplyEmoticons extends Event {

    /**
     * The chat component containing the text message that should be checked for emoticons.
     * This component can be changed by anyone handling this event and EiraIRC will continue working with whatever is set here.
     */
    public IChatComponent component;

    /**
     * @param component the chat component containing the text message that should be checked for emoticons
     */
    public ApplyEmoticons(IChatComponent component) {
        this.component = component;
    }

}

@@ -122,43 +122,38 @@
 ort 
-cpw.mods.fml.comm
+net.minecraft.util.IChatComp
 on
-.eventhandler.Ev
 ent;
@@ -173,33 +173,48 @@
 inecraft
-.util.IChatComp
+forge.fml.comm
 on
+.eventhandler.Ev
 ent;%0A%0A/*

Fix patch errors.