2
* Copyright (C) 2004-2012 See the AUTHORS file for details.
4
* This program is free software; you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License version 2 as published
6
* by the Free Software Foundation.
9
#include <znc/Modules.h>
11
class CMissingMotd : public CModule {
13
MODCONSTRUCTOR(CMissingMotd) {}
15
virtual void OnClientLogin() {
16
PutUser(":irc.znc.in 422 :MOTD File is missing");
20
USERMODULEDEFS(CMissingMotd, "Sends 422 to clients when they login")