<commit_before>/*
 * Copyright (C) 2004-2013  See the AUTHORS file for details.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 2 as published
 * by the Free Software Foundation.
 */

#include <znc/Modules.h>

class CMissingMotd : public CModule {
public:
	MODCONSTRUCTOR(CMissingMotd) {}

	virtual void OnClientLogin() {
		PutUser(":irc.znc.in 422 :MOTD File is missing");
	}
};

USERMODULEDEFS(CMissingMotd, "Sends 422 to clients when they login")

<commit_msg>add missing TModInfo to missingmotd module<commit_after>/*
 * Copyright (C) 2004-2013  See the AUTHORS file for details.
 *
 * This program is free software; you can redistribute it and/or modify it
 * under the terms of the GNU General Public License version 2 as published
 * by the Free Software Foundation.
 */

#include <znc/Modules.h>

class CMissingMotd : public CModule {
public:
	MODCONSTRUCTOR(CMissingMotd) {}

	virtual void OnClientLogin() {
		PutUser(":irc.znc.in 422 :MOTD File is missing");
	}
};

template<> void TModInfo<CMissingMotd>(CModInfo& Info)
{
    Info.SetWikiPage("missingmotd");
    Info.SetHasArgs(false);
}

USERMODULEDEFS(CMissingMotd, "Sends 422 to clients when they login")


{'fraction_non_alphanumeric': 0.09587955625990491, 'fraction_numerical': 0.02377179080824089, 'mean_word_length': 4.420600858369099, 'pattern_counts': {'":': 2, '<': 7, '<?xml version=': 0, '>': 7, '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': '4002807', 'n_tokens_mistral': 438, 'n_tokens_neox': 408, 'n_words': 141}