<commit_before>from txircd.modbase import Mode

class OperMode(Mode):
	def checkSet(self, target, param):
		return False

def Spawner(object):
	def __init__(self, ircd):
		self.ircd = ircd
	
	def spawn():
		return {
			"modes": {
				"uno": OperMode()
			}<commit_msg>I just saw that again and decided a comment there would be nice.<commit_after>from txircd.modbase import Mode

class OperMode(Mode):
	def checkSet(self, target, param):
		return False # Should only be set by the OPER command; hence, reject any normal setting of the mode

def Spawner(object):
	def __init__(self, ircd):
		self.ircd = ircd
	
	def spawn():
		return {
			"modes": {
				"uno": OperMode()
			}
{'fraction_non_alphanumeric': 0.10979228486646884, 'fraction_numerical': 0.0, 'mean_word_length': 3.927007299270073, 'pattern_counts': {'":': 4, '<': 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': '209140', 'n_tokens_mistral': 251, 'n_tokens_neox': 227, 'n_words': 78}