summaryrefslogtreecommitdiff
path: root/src/commands
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands')
-rw-r--r--src/commands/cmd_clearcache.cpp6
-rw-r--r--src/commands/cmd_mode.cpp9
2 files changed, 0 insertions, 15 deletions
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<std::string>& parameters, User *user);
};
-#endif
-
-
/** Handle /CLEARCACHE
*/
CmdResult CommandClearcache::Handle (const std::vector<std::string>& 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<std::string>& parameters, User *user);
};
-#endif
-
/** Handle /MODE
*/