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
commitfe7c02063eb4f1f321a7adcdb76381fb99a5ac3e (patch)
tree72ad7504e22b3b5b270b9be96ab292a06ea1f3ff
parentea634acc3ccca9e3025c2a51f1b8f0c0f65a94e4 (diff)
downloadEssentials-fe7c02063eb4f1f321a7adcdb76381fb99a5ac3e.tar
Essentials-fe7c02063eb4f1f321a7adcdb76381fb99a5ac3e.tar.gz
Essentials-fe7c02063eb4f1f321a7adcdb76381fb99a5ac3e.tar.lz
Essentials-fe7c02063eb4f1f321a7adcdb76381fb99a5ac3e.tar.xz
Essentials-fe7c02063eb4f1f321a7adcdb76381fb99a5ac3e.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
{