summaryrefslogtreecommitdiff
path: root/include/modules
diff options
context:
space:
mode:
authorPeter Powell <petpow@saberuk.com>2019-12-14 18:37:23 +0000
committerPeter Powell <petpow@saberuk.com>2019-12-14 18:38:13 +0000
commit6617d29b5227f962c348e638a373ebb78989b7ba (patch)
treee2d6da92be797d519cbd8e154d1ba97a8c656884 /include/modules
parenta4ab6876c3f4afc087a3db90404bbdeb47525e6e (diff)
Fix a bunch of broken indentation.
Diffstat (limited to 'include/modules')
-rw-r--r--include/modules/cs_log.h2
-rw-r--r--include/modules/cs_mode.h2
-rw-r--r--include/modules/dns.h4
-rw-r--r--include/modules/encryption.h2
-rw-r--r--include/modules/httpd.h4
-rw-r--r--include/modules/os_session.h2
-rw-r--r--include/modules/sql.h4
-rw-r--r--include/modules/xmlrpc.h2
8 files changed, 11 insertions, 11 deletions
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<std::vector<LogSetting *> >
}
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 &param = "") = 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<cidr, Session *, cidr::hash> SessionMap;
+ typedef TR1NS::unordered_map<cidr, Session *, cidr::hash> SessionMap;
typedef std::vector<Exception *> 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<Anope::string, std::stringstream *> Map;
+ typedef std::map<Anope::string, std::stringstream *> Map;
Map data;
std::map<Anope::string, Type> 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;
};