From 67e055124dfbbb73b50f90cd1a1eb1be648d9379 Mon Sep 17 00:00:00 2001 From: pippijn Date: Thu, 14 Jun 2007 17:22:37 +0000 Subject: Some general syntax cleanups. git-svn-id: http://svn.inspircd.org/repository/trunk/inspircd@7304 e03df62e-2008-0410-955e-edbf42e46eb7 --- include/ctables.h | 2 +- include/dns.h | 2 +- include/inspircd.h | 2 +- include/modules.h | 2 +- include/socket.h | 4 ++-- include/users.h | 10 +++++----- 6 files changed, 11 insertions(+), 11 deletions(-) (limited to 'include') 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 { -- cgit v1.2.3