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
commit1f2c669eca786debc3ee5ee8a3de5ad98bd6470a (patch)
treebf651a5054d548f9c1c700649b1f19214163dbf3 /EssentialsChat/src
parent1d5a09a03e4226256c1a7691e786f22442117e92 (diff)
downloadEssentials-1f2c669eca786debc3ee5ee8a3de5ad98bd6470a.tar
Essentials-1f2c669eca786debc3ee5ee8a3de5ad98bd6470a.tar.gz
Essentials-1f2c669eca786debc3ee5ee8a3de5ad98bd6470a.tar.lz
Essentials-1f2c669eca786debc3ee5ee8a3de5ad98bd6470a.tar.xz
Essentials-1f2c669eca786debc3ee5ee8a3de5ad98bd6470a.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()));
}