]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - src/cmd_squit.cpp
Implement feature in bug #395 reported by stealth, and tidy up a bit
[user/henk/code/inspircd.git] / src / cmd_squit.cpp
1 /*       +------------------------------------+
2  *       | Inspire Internet Relay Chat Daemon |
3  *       +------------------------------------+
4  *
5  *  InspIRCd: (C) 2002-2007 InspIRCd Development Team
6  * See: http://www.inspircd.org/wiki/index.php/Credits
7  *
8  * This program is free but copyrighted software; see
9  *            the file COPYING for details.
10  *
11  * ---------------------------------------------------
12  */
13
14 #include "inspircd.h"
15 #include "users.h"
16 #include "commands/cmd_squit.h"
17
18 /*
19  * This is handled by the server linking module, if necessary. Do not remove this stub.
20  */
21
22
23 extern "C" DllExport command_t* init_command(InspIRCd* Instance)
24 {
25         return new cmd_squit(Instance);
26 }
27
28 CmdResult cmd_squit::Handle (const char** parameters, int pcnt, userrec *user)
29 {
30         user->WriteServ( "NOTICE %s :Look into loading a linking module (like m_spanningtree) if you want this to do anything useful.", user->nick);
31         return CMD_FAILURE;
32 }