summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/ctables.h2
-rw-r--r--include/dns.h2
-rw-r--r--include/inspircd.h2
-rw-r--r--include/modules.h2
-rw-r--r--include/socket.h4
-rw-r--r--include/users.h10
6 files changed, 11 insertions, 11 deletions
diff --git a/include/ctables.h b/include/ctables.h
index affef58d9..c3d2f7b43 100644
--- a/include/ctables.h
+++ b/include/ctables.h
@@ -29,7 +29,7 @@ enum CmdResult
CMD_FAILURE = 0, /* Command exists, but failed */
CMD_SUCCESS = 1, /* Command exists, and succeeded */
CMD_INVALID = 2, /* Command doesnt exist at all! */
- CMD_USER_DELETED = 3, /* User was deleted! */
+ CMD_USER_DELETED = 3 /* User was deleted! */
};
/* For commands which should not be replicated to other
diff --git a/include/dns.h b/include/dns.h
index e5f721770..b00c57201 100644
--- a/include/dns.h
+++ b/include/dns.h
@@ -162,7 +162,7 @@ enum QueryType
DNS_QUERY_AAAA = 28, /* 'AAAA' record: an ipv6 address */
DNS_QUERY_PTR4 = 0xFFFD, /* Force 'PTR' to use IPV4 scemantics */
- DNS_QUERY_PTR6 = 0xFFFE, /* Force 'PTR' to use IPV6 scemantics */
+ DNS_QUERY_PTR6 = 0xFFFE /* Force 'PTR' to use IPV6 scemantics */
};
#ifdef IPV6
diff --git a/include/inspircd.h b/include/inspircd.h
index 3e132aff6..202264ad5 100644
--- a/include/inspircd.h
+++ b/include/inspircd.h
@@ -54,7 +54,7 @@ enum DebugLevel
VERBOSE = 20,
DEFAULT = 30,
SPARSE = 40,
- NONE = 50,
+ NONE = 50
};
/**
diff --git a/include/modules.h b/include/modules.h
index bba71365d..b94abfbbc 100644
--- a/include/modules.h
+++ b/include/modules.h
@@ -1402,7 +1402,7 @@ class CoreExport ConfigReader : public classbase
* (such as comments) stripped from it.
*/
ConfigDataHash* data;
- std::ostringstream* errorlog;;
+ std::ostringstream* errorlog;
/** Used to store errors
*/
bool privatehash; // If we're using our own config data hash or not.
diff --git a/include/socket.h b/include/socket.h
index de0b0510b..1304ecb57 100644
--- a/include/socket.h
+++ b/include/socket.h
@@ -155,8 +155,8 @@ namespace irc
* descriptors)
*/
CoreExport int OpenTCPSocket(char* addr, int socktype = SOCK_STREAM);
- };
-};
+ }
+}
/** This class handles incoming connections on client ports.
* It will create a new userrec for every valid connection
diff --git a/include/users.h b/include/users.h
index e76c88676..a39af7b50 100644
--- a/include/users.h
+++ b/include/users.h
@@ -38,11 +38,11 @@ enum ClassTypes {
/** RFC1459 channel modes
* */
enum UserModes {
- UM_SERVERNOTICE = 's'-65,
- UM_WALLOPS = 'w'-65,
- UM_INVISIBLE = 'i'-65,
- UM_OPERATOR = 'o'-65,
- UM_SNOMASK = 'n'-65,
+ UM_SERVERNOTICE = 's' - 65,
+ UM_WALLOPS = 'w' - 65,
+ UM_INVISIBLE = 'i' - 65,
+ UM_OPERATOR = 'o' - 65,
+ UM_SNOMASK = 'n' - 65
};
enum RegistrationState {