administration.lua bugfix

This commit is contained in:
topkecleon 2016-06-19 19:54:19 -04:00
parent eadf593ed7
commit 69f0702365

View File

@ -898,7 +898,7 @@ function administration.init_command(self_, config)
interior = true, interior = true,
doc = 'Returns a list of administrators. Owner is denoted with a star character.', doc = 'Returns a list of administrators. Owner is denoted with a star character.',
action = function(self, msg, config) action = function(self, msg, _, config)
local output = '*Administrators:*\n' local output = '*Administrators:*\n'
output = output .. administration.mod_format(self, config.admin):gsub('\n', '\n') output = output .. administration.mod_format(self, config.admin):gsub('\n', '\n')
for id,_ in pairs(self.database.administration.admins) do for id,_ in pairs(self.database.administration.admins) do