From 19487dbebc520450e457472b97d9e7bcd5160c00 Mon Sep 17 00:00:00 2001 From: danieldg Date: Wed, 11 Nov 2009 00:17:07 +0000 Subject: Allow static build of inspircd without module support git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@12083 e03df62e-2008-0410-955e-edbf42e46eb7 --- src/commands/cmd_clearcache.cpp | 6 ------ src/commands/cmd_mode.cpp | 9 --------- 2 files changed, 15 deletions(-) (limited to 'src/commands') diff --git a/src/commands/cmd_clearcache.cpp b/src/commands/cmd_clearcache.cpp index 2334e597c..1fc8a1241 100644 --- a/src/commands/cmd_clearcache.cpp +++ b/src/commands/cmd_clearcache.cpp @@ -13,9 +13,6 @@ #include "inspircd.h" -#ifndef __CMD_ADMIN_H__ -#define __CMD_ADMIN_H__ - #include "users.h" #include "channels.h" #include "ctables.h" @@ -40,9 +37,6 @@ class CommandClearcache : public Command CmdResult Handle(const std::vector& parameters, User *user); }; -#endif - - /** Handle /CLEARCACHE */ CmdResult CommandClearcache::Handle (const std::vector& parameters, User *user) diff --git a/src/commands/cmd_mode.cpp b/src/commands/cmd_mode.cpp index 3cfc58263..5bc55e895 100644 --- a/src/commands/cmd_mode.cpp +++ b/src/commands/cmd_mode.cpp @@ -13,13 +13,6 @@ #include "inspircd.h" -#ifndef __CMD_ADMIN_H__ -#define __CMD_ADMIN_H__ - -#include "users.h" -#include "channels.h" -#include "ctables.h" - /** Handle /MODE. 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 @@ -40,8 +33,6 @@ class CommandMode : public Command CmdResult Handle(const std::vector& parameters, User *user); }; -#endif - /** Handle /MODE */ -- cgit v1.2.3