summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/commands/cmd_summon.h45
-rw-r--r--include/commands/cmd_users.h45
-rw-r--r--include/ctables.h4
3 files changed, 2 insertions, 92 deletions
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 <string>
-#include <vector>
-#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 <string>
-#include <vector>
-#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
diff --git a/include/ctables.h b/include/ctables.h
index 7bd73448c..d112e885c 100644
--- a/include/ctables.h
+++ b/include/ctables.h
@@ -72,10 +72,10 @@ class CoreExport command_t : public Extensible
int min_params;
/** used by /stats m
*/
- long use_count;
+ long double use_count;
/** used by /stats m
*/
- float total_bytes;
+ long double total_bytes;
/** used for resource tracking between modules
*/
std::string source;