summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-05-14 11:29:21 +0000
committersnowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb>2011-05-14 11:29:21 +0000
commit85eb7c6ec444916d6f0e887d5b9e56715b0bd16c (patch)
tree1536b804352ba3b2d420af23b3913df50379def1
parent47f1b2809bef5334366789d6971f9314b644749b (diff)
downloadEssentials-85eb7c6ec444916d6f0e887d5b9e56715b0bd16c.tar
Essentials-85eb7c6ec444916d6f0e887d5b9e56715b0bd16c.tar.gz
Essentials-85eb7c6ec444916d6f0e887d5b9e56715b0bd16c.tar.lz
Essentials-85eb7c6ec444916d6f0e887d5b9e56715b0bd16c.tar.xz
Essentials-85eb7c6ec444916d6f0e887d5b9e56715b0bd16c.zip
Socialspy: catch /r messages
git-svn-id: https://svn.java.net/svn/essentials~svn/trunk@1464 e251c2fe-e539-e718-e476-b85c1f46cddb
-rw-r--r--Essentials/src/com/earth2me/essentials/Essentials.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/Essentials.java b/Essentials/src/com/earth2me/essentials/Essentials.java
index fc73aaa82..09c0785f9 100644
--- a/Essentials/src/com/earth2me/essentials/Essentials.java
+++ b/Essentials/src/com/earth2me/essentials/Essentials.java
@@ -332,7 +332,7 @@ public class Essentials extends JavaPlugin
public boolean onCommandEssentials(CommandSender sender, Command command, String commandLabel, String[] args, ClassLoader classLoader, String commandPath)
{
- if ("msg".equals(commandLabel.toLowerCase()) || "mail".equals(commandLabel.toLowerCase()) & sender instanceof CraftPlayer)
+ if ("msg".equals(commandLabel.toLowerCase()) || "r".equals(commandLabel.toLowerCase()) || "mail".equals(commandLabel.toLowerCase()) & sender instanceof CraftPlayer)
{
StringBuilder str = new StringBuilder();
str.append(commandLabel).append(" ");