summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKHobbits <rob@khobbits.co.uk>2013-03-19 18:34:28 +0000
committerKHobbits <rob@khobbits.co.uk>2013-03-19 18:34:28 +0000
commit093611fb2ac2425400c36cb12f3ae741806872b1 (patch)
treef63bb9a1f9409426e3757bc0026d184e8c92c694
parent709ddae508876afe7d9912d12c85200d9910dd71 (diff)
downloadEssentials-093611fb2ac2425400c36cb12f3ae741806872b1.tar
Essentials-093611fb2ac2425400c36cb12f3ae741806872b1.tar.gz
Essentials-093611fb2ac2425400c36cb12f3ae741806872b1.tar.lz
Essentials-093611fb2ac2425400c36cb12f3ae741806872b1.tar.xz
Essentials-093611fb2ac2425400c36cb12f3ae741806872b1.zip
Use original case for default /list groups.
-rw-r--r--Essentials/src/com/earth2me/essentials/commands/Commandlist.java4
1 files changed, 2 insertions, 2 deletions
diff --git a/Essentials/src/com/earth2me/essentials/commands/Commandlist.java b/Essentials/src/com/earth2me/essentials/commands/Commandlist.java
index 196b1baca..34aacdd53 100644
--- a/Essentials/src/com/earth2me/essentials/commands/Commandlist.java
+++ b/Essentials/src/com/earth2me/essentials/commands/Commandlist.java
@@ -223,8 +223,8 @@ public class Commandlist extends EssentialsCommand
{
continue;
}
-
- sender.sendMessage(outputFormat(onlineGroup, listUsers(users)));
+ String groupName = users.get(0).getGroup();
+ sender.sendMessage(outputFormat(groupName, listUsers(users)));
}
}