Skip to content
This repository has been archived by the owner on Jul 27, 2019. It is now read-only.

Commit

Permalink
Add setMessage method to IRCMessageEent.
Browse files Browse the repository at this point in the history
  • Loading branch information
cnaude committed Jan 2, 2016
1 parent 1e018c5 commit b15cc3d
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/main/java/com/cnaude/purpleirc/Events/IRCMessageEvent.java
Expand Up @@ -27,7 +27,7 @@
public class IRCMessageEvent extends Event {

private static final HandlerList HANDLERS = new HandlerList();
private final String message;
private String message;
private final String permission;

/**
Expand Down Expand Up @@ -72,4 +72,13 @@ public HandlerList getHandlers() {
public static HandlerList getHandlerList() {
return HANDLERS;
}

/**
* Change the IRC message being sent to the game
*
* @param message the message from IRC
*/
public void setMessage(String message) {
this.message = message;
}
}

0 comments on commit b15cc3d

Please sign in to comment.