Skip to content

Commit

Permalink
Print message for ip match
Browse files Browse the repository at this point in the history
  • Loading branch information
ammaraskar committed Oct 20, 2012
1 parent 19e7054 commit 195201e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/to/joe/j2mc/miniluv/J2MC_MiniLuv.java
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public void onChat(AsyncPlayerChatEvent event) {
}
}
if(event.getMessage().matches("^(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)(\\.(25[0-5]|2[0-4]\\d|[0-1]?\\d?\\d)){3}$")) {
this.sendAlert(event.getPlayer().getName() + " just posted an ip in chat");
this.sendAlert(event.getPlayer().getName() + " just posted an ip in chat. Message: \"" + event.getMessage() + "\"");
}
}

Expand Down

0 comments on commit 195201e

Please sign in to comment.