1 /* +------------------------------------+
2 * | Inspire Internet Relay Chat Daemon |
3 * +------------------------------------+
5 * InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
7 * <brain@chatspike.net>
8 * <Craig@chatspike.net>
10 * Written by Craig Edwards, Craig McLure, and others.
11 * This program is free but copyrighted software; see
12 * the file COPYING for details.
14 * ---------------------------------------------------
17 #include "configreader.h"
20 #include "helperfuncs.h"
21 #include "commands/cmd_ping.h"
23 extern ServerConfig* Config;
26 void cmd_ping::Handle (char **parameters, int pcnt, userrec *user)
28 WriteServ(user->fd,"PONG %s :%s",Config->ServerName,parameters[0]);