From 6617d29b5227f962c348e638a373ebb78989b7ba Mon Sep 17 00:00:00 2001 From: Peter Powell Date: Sat, 14 Dec 2019 18:37:23 +0000 Subject: Fix a bunch of broken indentation. --- include/modules/cs_log.h | 2 +- include/modules/cs_mode.h | 2 +- include/modules/dns.h | 4 ++-- include/modules/encryption.h | 2 +- include/modules/httpd.h | 4 ++-- include/modules/os_session.h | 2 +- include/modules/sql.h | 4 ++-- include/modules/xmlrpc.h | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) (limited to 'include/modules') diff --git a/include/modules/cs_log.h b/include/modules/cs_log.h index 1a5658dd1..ca2a6bcaa 100644 --- a/include/modules/cs_log.h +++ b/include/modules/cs_log.h @@ -37,6 +37,6 @@ struct LogSettings : Serialize::Checker > } public: - virtual ~LogSettings() { } + virtual ~LogSettings() { } virtual LogSetting *Create() = 0; }; diff --git a/include/modules/cs_mode.h b/include/modules/cs_mode.h index 480217e59..4ac2e1450 100644 --- a/include/modules/cs_mode.h +++ b/include/modules/cs_mode.h @@ -74,7 +74,7 @@ struct ModeLocks /** Get details for a specific mlock * @param mname The mode name - * @param An optional param to match with + * @param An optional param to match with * @return The MLock, if any */ virtual const ModeLock *GetMLock(const Anope::string &mname, const Anope::string ¶m = "") = 0; diff --git a/include/modules/dns.h b/include/modules/dns.h index c9c6c9088..c35144210 100644 --- a/include/modules/dns.h +++ b/include/modules/dns.h @@ -139,8 +139,8 @@ namespace DNS /* Use result cache if available */ bool use_cache; /* Request id */ - unsigned short id; - /* Creator of this request */ + unsigned short id; + /* Creator of this request */ Module *creator; Request(Manager *mgr, Module *c, const Anope::string &addr, QueryType qt, bool cache = false) : Timer(0), Question(addr, qt), manager(mgr), diff --git a/include/modules/encryption.h b/include/modules/encryption.h index f72d95910..fccd77dc8 100644 --- a/include/modules/encryption.h +++ b/include/modules/encryption.h @@ -17,7 +17,7 @@ namespace Encryption class Context { public: - virtual ~Context() { } + virtual ~Context() { } virtual void Update(const unsigned char *data, size_t len) = 0; virtual void Finalize() = 0; virtual Hash GetFinalizedHash() = 0; diff --git a/include/modules/httpd.h b/include/modules/httpd.h index 0e9b1196e..338254c1f 100644 --- a/include/modules/httpd.h +++ b/include/modules/httpd.h @@ -99,7 +99,7 @@ class HTTPPage : public Base Anope::string content_type; public: - HTTPPage(const Anope::string &u, const Anope::string &ct = "text/html") : url(u), content_type(ct) { } + HTTPPage(const Anope::string &u, const Anope::string &ct = "text/html") : url(u), content_type(ct) { } const Anope::string &GetURL() const { return this->url; } @@ -137,7 +137,7 @@ class HTTPClient : public ClientSocket, public BinarySocket, public Base class HTTPProvider : public ListenSocket, public Service { - Anope::string ip; + Anope::string ip; unsigned short port; bool ssl; public: diff --git a/include/modules/os_session.h b/include/modules/os_session.h index 0c064f895..034937412 100644 --- a/include/modules/os_session.h +++ b/include/modules/os_session.h @@ -35,7 +35,7 @@ struct Exception : Serializable class SessionService : public Service { public: - typedef TR1NS::unordered_map SessionMap; + typedef TR1NS::unordered_map SessionMap; typedef std::vector ExceptionVector; SessionService(Module *m) : Service(m, "SessionService", "session") { } diff --git a/include/modules/sql.h b/include/modules/sql.h index a70f25dc6..47b2a7aef 100644 --- a/include/modules/sql.h +++ b/include/modules/sql.h @@ -12,7 +12,7 @@ namespace SQL class Data : public Serialize::Data { public: - typedef std::map Map; + typedef std::map Map; Map data; std::map types; @@ -142,7 +142,7 @@ namespace SQL Anope::string error; public: unsigned int id; - Anope::string finished_query; + Anope::string finished_query; Result() : id(0) { } Result(unsigned int i, const Query &q, const Anope::string &fq, const Anope::string &err = "") : query(q), error(err), id(i), finished_query(fq) { } diff --git a/include/modules/xmlrpc.h b/include/modules/xmlrpc.h index 61388c68e..9ac452b12 100644 --- a/include/modules/xmlrpc.h +++ b/include/modules/xmlrpc.h @@ -28,7 +28,7 @@ class XMLRPCServiceInterface; class XMLRPCEvent { public: - virtual ~XMLRPCEvent() { } + virtual ~XMLRPCEvent() { } virtual bool Run(XMLRPCServiceInterface *iface, HTTPClient *client, XMLRPCRequest &request) = 0; }; -- cgit