summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAdam <Adam@anope.org>2011-11-16 16:22:58 -0500
committerAdam <Adam@anope.org>2011-11-16 16:22:58 -0500
commit5281282a61601e9a6b77d129ed97e0509a0474cb (patch)
treec9dc89c4f5467f3bda4d579fe779e5ba4f9c0008
parent503eb42e404352f5e101f9658749f095a0160591 (diff)
Fixed compile error
-rw-r--r--include/access.h6
-rw-r--r--modules/commands/cs_access.cpp6
-rw-r--r--src/access.cpp6
3 files changed, 6 insertions, 12 deletions
diff --git a/include/access.h b/include/access.h
index 1e5f6a496..efc4791ca 100644
--- a/include/access.h
+++ b/include/access.h
@@ -1,6 +1,12 @@
#ifndef ACCESS_H
#define ACCESS_H
+enum
+{
+ ACCESS_INVALID = -10000,
+ ACCESS_FOUNDER = 10001
+};
+
struct CoreExport Privilege
{
Anope::string name;
diff --git a/modules/commands/cs_access.cpp b/modules/commands/cs_access.cpp
index 7a9c3b9a5..bda726276 100644
--- a/modules/commands/cs_access.cpp
+++ b/modules/commands/cs_access.cpp
@@ -13,12 +13,6 @@
#include "module.h"
-enum
-{
- ACCESS_INVALID = -10000,
- ACCESS_FOUNDER = 10001
-};
-
static std::map<Anope::string, int16_t, ci::less> defaultLevels;
static void reset_levels(ChannelInfo *ci)
diff --git a/src/access.cpp b/src/access.cpp
index 626176e7b..3fa8c8013 100644
--- a/src/access.cpp
+++ b/src/access.cpp
@@ -12,12 +12,6 @@
#include "services.h"
#include "modules.h"
-enum
-{
- ACCESS_INVALID = -10000,
- ACCESS_FOUNDER = 10001
-};
-
Privilege::Privilege(const Anope::string &n, const Anope::string &d) : name(n), desc(d)
{
}