From affe14511b9f874a36610650722215ad61af0c53 Mon Sep 17 00:00:00 2001 From: w00t Date: Thu, 27 Sep 2007 15:48:05 +0000 Subject: Remove /summon and /users (I think 15+ years of being marked deprecated is enough, really) git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@8088 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/commands/cmd_summon.h | 45 ------------------------------------------- include/commands/cmd_users.h | 45 ------------------------------------------- 2 files changed, 90 deletions(-) delete mode 100644 include/commands/cmd_summon.h delete mode 100644 include/commands/cmd_users.h (limited to 'include/commands') diff --git a/include/commands/cmd_summon.h b/include/commands/cmd_summon.h deleted file mode 100644 index f8ea20bb9..000000000 --- a/include/commands/cmd_summon.h +++ /dev/null @@ -1,45 +0,0 @@ -/* +------------------------------------+ - * | Inspire Internet Relay Chat Daemon | - * +------------------------------------+ - * - * InspIRCd: (C) 2002-2007 InspIRCd Development Team - * See: http://www.inspircd.org/wiki/index.php/Credits - * - * This program is free but copyrighted software; see - * the file COPYING for details. - * - * --------------------------------------------------- - */ - -#ifndef __CMD_SUMMON_H__ -#define __CMD_SUMMON_H__ - -// include the common header files - -#include -#include -#include "inspircd.h" -#include "users.h" -#include "channels.h" - -/** Handle /SUMMON stub. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. - */ -class cmd_summon : public command_t -{ - public: - /** Constructor for summon. - */ - cmd_summon (InspIRCd* Instance) : command_t(Instance,"SUMMON",0,0) { } - /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command - * @param user The user issuing the command - * @return A value from CmdResult to indicate command success or failure. - */ - CmdResult Handle(const char** parameters, int pcnt, userrec *user); -}; - -#endif diff --git a/include/commands/cmd_users.h b/include/commands/cmd_users.h deleted file mode 100644 index 1ba2ad280..000000000 --- a/include/commands/cmd_users.h +++ /dev/null @@ -1,45 +0,0 @@ -/* +------------------------------------+ - * | Inspire Internet Relay Chat Daemon | - * +------------------------------------+ - * - * InspIRCd: (C) 2002-2007 InspIRCd Development Team - * See: http://www.inspircd.org/wiki/index.php/Credits - * - * This program is free but copyrighted software; see - * the file COPYING for details. - * - * --------------------------------------------------- - */ - -#ifndef __CMD_USERS_H__ -#define __CMD_USERS_H__ - -// include the common header files -// -#include -#include -#include "inspircd.h" -#include "users.h" -#include "channels.h" - -/** Handle /USERS stub. These command handlers can be reloaded by the core, - * and handle basic RFC1459 commands. Commands within modules work - * the same way, however, they can be fully unloaded, where these - * may not. - */ -class cmd_users : public command_t -{ - public: - /** Constructor for users. - */ - cmd_users (InspIRCd* Instance) : command_t(Instance,"USERS",0,0) { } - /** Handle command. - * @param parameters The parameters to the comamnd - * @param pcnt The number of parameters passed to teh command - * @param user The user issuing the command - * @return A value from CmdResult to indicate command success or failure. - */ - CmdResult Handle(const char** parameters, int pcnt, userrec *user); -}; - -#endif -- cgit v1.2.3