summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/Core/listgroups.lua
diff options
context:
space:
mode:
Diffstat (limited to 'MCServer/Plugins/Core/listgroups.lua')
-rw-r--r--MCServer/Plugins/Core/listgroups.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/MCServer/Plugins/Core/listgroups.lua b/MCServer/Plugins/Core/listgroups.lua
index da9a6ce67..531b46463 100644
--- a/MCServer/Plugins/Core/listgroups.lua
+++ b/MCServer/Plugins/Core/listgroups.lua
@@ -3,7 +3,7 @@ function HandleListGroupsCommand( Split, Player )
if GroupsIni:ReadFile() == false then
Player:SendMessage( cChatColor.Green .. "No groups found" )
end
- Number = GroupsIni:NumKeys()
+ Number = GroupsIni:NumKeys() - 1
Groups = {}
for i=0, Number do
table.insert( Groups, GroupsIni:KeyName(i) )