]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - src/cmd_map.cpp
Passing invalid instance to dns isnt a good idea
[user/henk/code/inspircd.git] / src / cmd_map.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 "inspircd_config.h"
18 #include "configreader.h"
19 #include "users.h"
20 #include "commands.h"
21 #include "helperfuncs.h"
22 #include "commands/cmd_map.h"
23
24 extern InspIRCd* ServerInstance;
25
26 void cmd_map::Handle (const char** parameters, int pcnt, userrec *user)
27 {
28         // as with /LUSERS this does nothing without a linking
29         // module to override its behaviour and display something
30         // better.
31         user->WriteServ("006 %s :%s",user->nick,ServerInstance->Config->ServerName);
32         user->WriteServ("007 %s :End of /MAP",user->nick);
33 }