inspircd/include/commands/cmd_version.h

33 lines
903 B
C++

/* +------------------------------------+
* | Inspire Internet Relay Chat Daemon |
* +------------------------------------+
*
* InspIRCd is copyright (C) 2002-2006 ChatSpike-Dev.
* E-mail:
* <brain@chatspike.net>
* <Craig@chatspike.net>
*
* Written by Craig Edwards, Craig McLure, and others.
* This program is free but copyrighted software; see
* the file COPYING for details.
*
* ---------------------------------------------------
*/
#ifndef __CMD_VERSION_H__
#define __CMD_VERSION_H__
// include the common header files
#include "users.h"
#include "channels.h"
class cmd_version : public command_t
{
public:
cmd_version (InspIRCd* Instance) : command_t(Instance,"VERSION",0,0) { syntax = "[<servername>]"; }
void Handle(const char** parameters, int pcnt, userrec *user);
};
#endif