From 293df6a8b55e89c127e60e92711ef0ef1027bff8 Mon Sep 17 00:00:00 2001 From: brain Date: Fri, 16 Dec 2005 18:10:38 +0000 Subject: Split all commands into seperate files and redid command system to take classes, not function pointers (function pointers suck ass) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@2534 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/cmd_nick.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 include/cmd_nick.h (limited to 'include/cmd_nick.h') diff --git a/include/cmd_nick.h b/include/cmd_nick.h new file mode 100644 index 000000000..0ec7a3966 --- /dev/null +++ b/include/cmd_nick.h @@ -0,0 +1,38 @@ +/* +------------------------------------+ + * | Inspire Internet Relay Chat Daemon | + * +------------------------------------+ + * + * Inspire is copyright (C) 2002-2004 ChatSpike-Dev. + * E-mail: + * + * + * + * Written by Craig Edwards, Craig McLure, and others. + * This program is free but copyrighted software; see + * the file COPYING for details. + * + * --------------------------------------------------- + */ + +#ifndef __CMD_NICK_H__ +#define __CMD_NICK_H__ + +// include the common header files + +#include +#include +#include +#include +#include +#include +#include "users.h" +#include "channels.h" + +class cmd_nick : public command_t +{ + public: + cmd_nick () : command_t("NICK",0,1) { } + void Handle(char **parameters, int pcnt, userrec *user); +}; + +#endif -- cgit v1.2.3