<commit_before>from twisted.plugin import IPlugin
from txircd.module_interface import IModuleData, ModuleData
from zope.interface import implements

class ChangeHost(ModuleData):
	implements(IPlugin, IModuleData)
	
	name = "ChangeHost"
	
	def action(self):
		return [ ("changehost", 1, self.updateHosts),
		         ("changeident", 1, self.updateIdents),
		         ("remotechangeident", 1, self.updateIdents),
		         ("capabilitylist", 1, self.addCapability) ]
	
	def load(self):
		if "unloading-chghost" in self.ircd.dataCache:
			del self.ircd.dataCache["unloading-chghost"]<commit_msg>Fix typo which ruins ChangeHost<commit_after>from twisted.plugin import IPlugin
from txircd.module_interface import IModuleData, ModuleData
from zope.interface import implements

class ChangeHost(ModuleData):
	implements(IPlugin, IModuleData)
	
	name = "ChangeHost"
	
	def actions(self):
		return [ ("changehost", 1, self.updateHosts),
		         ("changeident", 1, self.updateIdents),
		         ("remotechangeident", 1, self.updateIdents),
		         ("capabilitylist", 1, self.addCapability) ]
	
	def load(self):
		if "unloading-chghost" in self.ircd.dataCache:
			del self.ircd.dataCache["unloading-chghost"]
{'fraction_non_alphanumeric': 0.11286307053941909, 'fraction_numerical': 0.006639004149377593, 'mean_word_length': 4.457013574660634, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4988663', 'n_tokens_mistral': 410, 'n_tokens_neox': 370, 'n_words': 87}