diff options
author | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-05-14 11:29:21 +0000 |
---|---|---|
committer | snowleo <snowleo@e251c2fe-e539-e718-e476-b85c1f46cddb> | 2011-05-14 11:29:21 +0000 |
commit | 20455ab3c0291cdd63cd4309ba7729f318154bf9 (patch) | |
tree | 8371c0facb4d8c23961180a3e17701dcb285fdb3 | |
parent | 4a75929811a8036bb7bb77ad6b99dac81f66c718 (diff) | |
download | Essentials-20455ab3c0291cdd63cd4309ba7729f318154bf9.tar Essentials-20455ab3c0291cdd63cd4309ba7729f318154bf9.tar.gz Essentials-20455ab3c0291cdd63cd4309ba7729f318154bf9.tar.lz Essentials-20455ab3c0291cdd63cd4309ba7729f318154bf9.tar.xz Essentials-20455ab3c0291cdd63cd4309ba7729f318154bf9.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.java | 2 |
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(" "); |