]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - src/cmd_server.cpp
bd41e55958aa7b369af3dda3f25b2e61bab21a43
[user/henk/code/inspircd.git] / src / cmd_server.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.h"
19 #include "helperfuncs.h"
20 #include "commands/cmd_server.h"
21
22 void cmd_server::Handle (const char** parameters, int pcnt, userrec *user)
23 {
24         user->WriteServ("666 %s :You cannot identify as a server, you are a USER. IRC Operators informed.",user->nick);
25         WriteOpers("*** WARNING: %s attempted to issue a SERVER command and is registered as a user!",user->nick);
26 }