old_contents: from twisted.plugin import IPlugin
  from txircd.module_interface import IModuleData, ModuleData
  from zope.interface import implements
  
  class ModulesCommand(ModuleData):
  	implements(IPlugin, IModuleData)
  	
  	name = "ModulesCommand"
  	
  	def actions(self):
  		return [ ("statsruntype-modules", 1, self.listModules) ]
  	
  	def listModules(self):
  		return sorted(self.ircd.loadedModules.keys())
  
  modulesCommand = ModulesCommand()
new_contents: from twisted.plugin import IPlugin
  from txircd.module_interface import IModuleData, ModuleData
  from zope.interface import implements
  
  class ModulesCommand(ModuleData):
  	implements(IPlugin, IModuleData)
  	
  	name = "ModulesCommand"
  	
  	def actions(self):
  		return [ ("statsruntype-modules", 1, self.listModules) ]
  	
  	def listModules(self):
  		modules = {}
  		for modName in sorted(self.ircd.loadedModules.keys()):
  			modules[modName] = "*"
  		return modules
  
  modulesCommand = ModulesCommand()
subject: Return the correct thing for modules