diff options
| author | 2012-04-15 12:53:40 -0700 | |
|---|---|---|
| committer | 2012-04-15 12:53:40 -0700 | |
| commit | af361336aea8ddeff9f3ce40b2f031d64d7cc0de (patch) | |
| tree | c01bd31ce849389a9d0bfced8160ca0f55a1bb50 /src/modules | |
| parent | Explicitly shut down stdio's stdin/stdout/stderr. (diff) | |
| parent | Fix some of the include guard names (requested by SaberUK) (diff) | |
Merge pull request #57 from Justasic/insp21
[2.1] Fixes for bug #12
Diffstat (limited to 'src/modules')
| -rw-r--r-- | src/modules/account.h | 4 | ||||
| -rw-r--r-- | src/modules/hash.h | 4 | ||||
| -rw-r--r-- | src/modules/httpd.h | 4 | ||||
| -rw-r--r-- | src/modules/m_cap.h | 4 | ||||
| -rw-r--r-- | src/modules/m_regex.h | 4 | ||||
| -rw-r--r-- | src/modules/m_spanningtree/cachetimer.h | 4 | ||||
| -rw-r--r-- | src/modules/m_spanningtree/commands.h | 4 | ||||
| -rw-r--r-- | src/modules/m_spanningtree/link.h | 4 | ||||
| -rw-r--r-- | src/modules/m_spanningtree/main.h | 4 | ||||
| -rw-r--r-- | src/modules/m_spanningtree/protocolinterface.h | 4 | ||||
| -rw-r--r-- | src/modules/m_spanningtree/remoteuser.h | 5 | ||||
| -rw-r--r-- | src/modules/m_spanningtree/resolvers.h | 4 | ||||
| -rw-r--r-- | src/modules/m_spanningtree/treeserver.h | 4 | ||||
| -rw-r--r-- | src/modules/m_spanningtree/treesocket.h | 4 | ||||
| -rw-r--r-- | src/modules/m_spanningtree/utils.h | 4 | ||||
| -rw-r--r-- | src/modules/opflags.h | 4 | ||||
| -rw-r--r-- | src/modules/sasl.h | 4 | ||||
| -rw-r--r-- | src/modules/spanningtree.h | 4 | ||||
| -rw-r--r-- | src/modules/ssl.h | 4 |
19 files changed, 39 insertions, 38 deletions
diff --git a/src/modules/account.h b/src/modules/account.h index b35c40948..352bebc9f 100644 --- a/src/modules/account.h +++ b/src/modules/account.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __ACCOUNT_H__ -#define __ACCOUNT_H__ +#ifndef ACCOUNT_H +#define ACCOUNT_H class AccountEvent : public Event { diff --git a/src/modules/hash.h b/src/modules/hash.h index 7cad0f6fd..374fc50b4 100644 --- a/src/modules/hash.h +++ b/src/modules/hash.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __HASH_H__ -#define __HASH_H__ +#ifndef HASH_H +#define HASH_H #include "modules.h" diff --git a/src/modules/httpd.h b/src/modules/httpd.h index cb6ed1c1c..26ba713e1 100644 --- a/src/modules/httpd.h +++ b/src/modules/httpd.h @@ -13,8 +13,8 @@ #include "base.h" -#ifndef __HTTPD_H__ -#define __HTTPD_H__ +#ifndef HTTPD_H +#define HTTPD_H #include <string> #include <sstream> diff --git a/src/modules/m_cap.h b/src/modules/m_cap.h index 1ee7902e5..0d45d5c3a 100644 --- a/src/modules/m_cap.h +++ b/src/modules/m_cap.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __CAP_H__ -#define __CAP_H__ +#ifndef M_CAP_H +#define M_CAP_H #include <map> #include <string> diff --git a/src/modules/m_regex.h b/src/modules/m_regex.h index 4982c377b..aad66048d 100644 --- a/src/modules/m_regex.h +++ b/src/modules/m_regex.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef _M_REGEX_H -#define _M_REGEX_H +#ifndef M_REGEX_H +#define M_REGEX_H #include "inspircd.h" diff --git a/src/modules/m_spanningtree/cachetimer.h b/src/modules/m_spanningtree/cachetimer.h index f8eea6660..38f329121 100644 --- a/src/modules/m_spanningtree/cachetimer.h +++ b/src/modules/m_spanningtree/cachetimer.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __TIMESYNC_H__ -#define __TIMESYNC_H__ +#ifndef M_SPANNINGTREE_CACHETIMER_H +#define M_SPANNINGTREE_CACHETIMER_H #include "timer.h" diff --git a/src/modules/m_spanningtree/commands.h b/src/modules/m_spanningtree/commands.h index 076cd9198..c7ec33514 100644 --- a/src/modules/m_spanningtree/commands.h +++ b/src/modules/m_spanningtree/commands.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __COMMANDS_H__ -#define __COMMANDS_H__ +#ifndef M_SPANNINGTREE_COMMANDS_H +#define M_SPANNINGTREE_COMMANDS_H #include "main.h" diff --git a/src/modules/m_spanningtree/link.h b/src/modules/m_spanningtree/link.h index 59923b8e2..7cd74f2d7 100644 --- a/src/modules/m_spanningtree/link.h +++ b/src/modules/m_spanningtree/link.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __LINK_H__ -#define __LINK_H__ +#ifndef M_SPANNINGTREE_LINK_H +#define M_SPANNINGTREE_LINK_H class Link : public refcountbase { diff --git a/src/modules/m_spanningtree/main.h b/src/modules/m_spanningtree/main.h index b9d5ac1d8..c43e14a9f 100644 --- a/src/modules/m_spanningtree/main.h +++ b/src/modules/m_spanningtree/main.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __ST_MAIN__ -#define __ST_MAIN__ +#ifndef M_SPANNINGTREE_MAIN_H +#define M_SPANNINGTREE_MAIN_H #include "inspircd.h" #include <stdarg.h> diff --git a/src/modules/m_spanningtree/protocolinterface.h b/src/modules/m_spanningtree/protocolinterface.h index a155b4db9..17c9be9dc 100644 --- a/src/modules/m_spanningtree/protocolinterface.h +++ b/src/modules/m_spanningtree/protocolinterface.h @@ -1,5 +1,5 @@ -#ifndef _SPANNINGTREE_PROTOCOL_INT_ -#define _SPANNINGTREE_PROTOCOL_INT_ +#ifndef M_SPANNINGTREE_PROTOCOLINTERFACE_H +#define M_SPANNINGTREE_PROTOCOLINTERFACE_H class SpanningTreeUtilities; class ModuleSpanningTree; diff --git a/src/modules/m_spanningtree/remoteuser.h b/src/modules/m_spanningtree/remoteuser.h index 0d22dd9ef..8f771d6ee 100644 --- a/src/modules/m_spanningtree/remoteuser.h +++ b/src/modules/m_spanningtree/remoteuser.h @@ -1,4 +1,5 @@ - +#ifndef M_SPANNINGTREE_REMOTEUSER_H +#define M_SPANNINGTREE_REMOTEUSER_H class CoreExport RemoteUser : public User { public: @@ -11,4 +12,4 @@ class CoreExport RemoteUser : public User virtual void DoWhois(User* src); }; - +#endif diff --git a/src/modules/m_spanningtree/resolvers.h b/src/modules/m_spanningtree/resolvers.h index dc5c4446c..fa567202d 100644 --- a/src/modules/m_spanningtree/resolvers.h +++ b/src/modules/m_spanningtree/resolvers.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __RESOLVERS__H__ -#define __RESOLVERS__H__ +#ifndef M_SPANNINGTREE_RESOLVERS_H +#define M_SPANNINGTREE_RESOLVERS_H #include "socket.h" #include "inspircd.h" diff --git a/src/modules/m_spanningtree/treeserver.h b/src/modules/m_spanningtree/treeserver.h index 9a484cf94..4f91e4906 100644 --- a/src/modules/m_spanningtree/treeserver.h +++ b/src/modules/m_spanningtree/treeserver.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __TREESERVER_H__ -#define __TREESERVER_H__ +#ifndef M_SPANNINGTREE_TREESERVER_H +#define M_SPANNINGTREE_TREESERVER_H #include "treesocket.h" diff --git a/src/modules/m_spanningtree/treesocket.h b/src/modules/m_spanningtree/treesocket.h index 2fe4b07f1..1aac3c60d 100644 --- a/src/modules/m_spanningtree/treesocket.h +++ b/src/modules/m_spanningtree/treesocket.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __TREESOCKET_H__ -#define __TREESOCKET_H__ +#ifndef M_SPANNINGTREE_TREESOCKET_H +#define M_SPANNINGTREE_TREESOCKET_H #include "socket.h" #include "inspircd.h" diff --git a/src/modules/m_spanningtree/utils.h b/src/modules/m_spanningtree/utils.h index c4b3114d4..06bcf934b 100644 --- a/src/modules/m_spanningtree/utils.h +++ b/src/modules/m_spanningtree/utils.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __ST__UTIL__ -#define __ST__UTIL__ +#ifndef M_SPANNINGTREE_UTILS_H +#define M_SPANNINGTREE_UTILS_H #include "inspircd.h" #include "cull_list.h" diff --git a/src/modules/opflags.h b/src/modules/opflags.h index 7ee79e86f..5ceb94e84 100644 --- a/src/modules/opflags.h +++ b/src/modules/opflags.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __OPFLAGS_H__ -#define __OPFLAGS_H__ +#ifndef OPFLAGS_H +#define OPFLAGS_H class OpFlagProvider : public DataProvider { diff --git a/src/modules/sasl.h b/src/modules/sasl.h index 0b0cf4fa9..e42cd3248 100644 --- a/src/modules/sasl.h +++ b/src/modules/sasl.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __SASL_H__ -#define __SASL_H__ +#ifndef SASL_H +#define SASL_H class SASLHook : public classbase { diff --git a/src/modules/spanningtree.h b/src/modules/spanningtree.h index e1e5399b5..c48062275 100644 --- a/src/modules/spanningtree.h +++ b/src/modules/spanningtree.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __SPANNINGTREE_H__ -#define __SPANNINGTREE_H__ +#ifndef SPANNINGTREE_H +#define SPANNINGTREE_H struct AddServerEvent : public Event { diff --git a/src/modules/ssl.h b/src/modules/ssl.h index 98e9ada5b..ac20aea03 100644 --- a/src/modules/ssl.h +++ b/src/modules/ssl.h @@ -11,8 +11,8 @@ * --------------------------------------------------- */ -#ifndef __SSL_H__ -#define __SSL_H__ +#ifndef SSL_H +#define SSL_H #include "inspsocket.h" #include <map> |
