summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2011-10-18 05:35:21 +0100
committerKHobbits <rob@khobbits.co.uk>2011-10-18 05:35:21 +0100
commit625c7d030274453d07b8df257dcce259dbee13ba (patch)
tree9f8977d39f8d2ad10bb15afd9a6e433d1d60eb47
parent27a0552c2ae0436e10c6fe49c231d6a0c323ce97 (diff)
downloadEssentials-625c7d030274453d07b8df257dcce259dbee13ba.tar
Essentials-625c7d030274453d07b8df257dcce259dbee13ba.tar.gz
Essentials-625c7d030274453d07b8df257dcce259dbee13ba.tar.lz
Essentials-625c7d030274453d07b8df257dcce259dbee13ba.tar.xz
Essentials-625c7d030274453d07b8df257dcce259dbee13ba.zip
Save the ban reason, not the command name.
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandban.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandban.java b/Essentials/src/com/earth2me/essentials/commands/Commandban.java
index d6387c074..a4a5e2839 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandban.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandban.java
@@ -46,7 +46,7 @@ public class Commandban extends EssentialsCommand
if (args.length > 1)
{
banReason = getFinalArg(args, 1);
- player.setBanReason(commandLabel);
+ player.setBanReason(banReason);
}
else
{