]> git.netwichtig.de Git - user/henk/code/inspircd.git/blob - src/cmd_links.cpp
ModeHandler documented
[user/henk/code/inspircd.git] / src / cmd_links.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 "modules.h"
21 #include "commands.h"
22 #include "helperfuncs.h"
23 #include "commands/cmd_links.h"
24
25 extern ServerConfig* Config;
26
27 void cmd_links::Handle (char **parameters, int pcnt, userrec *user)
28 {
29         WriteServ(user->fd,"364 %s %s %s :0 %s",user->nick,Config->ServerName,Config->ServerName,Config->ServerDesc);
30         WriteServ(user->fd,"365 %s * :End of /LINKS list.",user->nick);
31 }