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_whois.h | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 include/cmd_whois.h (limited to 'include/cmd_whois.h') diff --git a/include/cmd_whois.h b/include/cmd_whois.h new file mode 100644 index 000000000..55236932d --- /dev/null +++ b/include/cmd_whois.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_WHOIS_H__ +#define __CMD_WHOIS_H__ + +// include the common header files + +#include +#include +#include +#include +#include +#include +#include "users.h" +#include "channels.h" + +class cmd_whois : public command_t +{ + public: + cmd_whois () : command_t("WHOIS",0,1) { } + void Handle(char **parameters, int pcnt, userrec *user); +}; + +#endif -- cgit v1.2.3