summaryrefslogtreecommitdiffstats
path: root/EssentialsChat/src
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2012-01-16 20:25:36 +0000
committerKHobbits <rob@khobbits.co.uk>2012-01-16 20:25:36 +0000
commit523ca2181dcfc47085161b5ece4bba0987164f3b (patch)
treed7be84cdb1998f1022ae24a7105be43f38d8cd61 /EssentialsChat/src
parente1f64534b209fbbd743ce1e52dd2bdac5420f5be (diff)
downloadEssentials-523ca2181dcfc47085161b5ece4bba0987164f3b.tar
Essentials-523ca2181dcfc47085161b5ece4bba0987164f3b.tar.gz
Essentials-523ca2181dcfc47085161b5ece4bba0987164f3b.tar.lz
Essentials-523ca2181dcfc47085161b5ece4bba0987164f3b.tar.xz
Essentials-523ca2181dcfc47085161b5ece4bba0987164f3b.zip
Stripping vanilla colour from /helpop and /mail
Adding support for &k in EssChat Adding support for colour in /msg and /r - New perm: essentials.msg.color
Diffstat (limited to 'EssentialsChat/src')
-rw-r--r--EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerLowest.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerLowest.java b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerLowest.java
index 82241a1f5..5c674d05d 100644
--- a/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerLowest.java
+++ b/EssentialsChat/src/com/earth2me/essentials/chat/EssentialsChatPlayerListenerLowest.java
@@ -32,7 +32,7 @@ public class EssentialsChatPlayerListenerLowest extends EssentialsChatPlayer
final User user = ess.getUser(event.getPlayer());
if (user.isAuthorized("essentials.chat.color"))
{
- event.setMessage(event.getMessage().replaceAll("&([0-9a-f])", "\u00a7$1"));
+ event.setMessage(event.getMessage().replaceAll("&([0-9a-fk])", "\u00a7$1"));
} else {
event.setMessage(Util.stripColor(event.getMessage()));
}