summaryrefslogtreecommitdiffstats
path: root/EssentialsXMPP/src/com/earth2me
diff options
context:
space:
mode:
Diffstat (limited to 'EssentialsXMPP/src/com/earth2me')
-rw-r--r--EssentialsXMPP/src/com/earth2me/essentials/xmpp/XMPPManager.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/XMPPManager.java b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/XMPPManager.java
index bb44d3127..164f40c2a 100644
--- a/EssentialsXMPP/src/com/earth2me/essentials/xmpp/XMPPManager.java
+++ b/EssentialsXMPP/src/com/earth2me/essentials/xmpp/XMPPManager.java
@@ -4,6 +4,7 @@ import com.earth2me.essentials.Console;
import com.earth2me.essentials.EssentialsConf;
import com.earth2me.essentials.IConf;
import com.earth2me.essentials.IUser;
+import com.earth2me.essentials.Util;
import java.io.File;
import java.util.*;
import java.util.logging.Handler;
@@ -61,7 +62,7 @@ public class XMPPManager extends Handler implements MessageListener, ChatManager
disconnect();
connect();
}
- chat.sendMessage(message.replaceAll("ยง[0-9a-f]", ""));
+ chat.sendMessage(Util.stripFormat(message));
return true;
}
}