]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - src/cmd_squit.cpp
Command result codes. This isnt finished yet, still got to do most of the modules...
[user/henk/code/inspircd.git] / src / cmd_squit.cpp
1 /*       +------------------------------------+
2  *       | Inspire Internet Relay Chat Daemon |
3  *       +------------------------------------+
4  *
5  *  InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
6  *                       E-mail:
7  *                <brain@chatspike.net>
8  *                <Craig@chatspike.net>
9  *
10  * Written by Craig Edwards, Craig McLure, and others.
11  * This program is free but copyrighted software; see
12  *            the file COPYING for details.
13  *
14  * ---------------------------------------------------
15  */
16
17 #include "users.h"
18 #include "commands/cmd_squit.h"
19
20 /*
21  * This is handled by the server linking module, if necessary. Do not remove this stub.
22  */
23
24
25 extern "C" command_t* init_command(InspIRCd* Instance)
26 {
27         return new cmd_squit(Instance);
28 }
29
30 CmdResult cmd_squit::Handle (const char** parameters, int pcnt, userrec *user)
31 {
32         user->WriteServ( "NOTICE %s :You are a nub. Load a linking module.", user->nick);
33         return CMD_FAILURE;
34 }