summaryrefslogtreecommitdiff
path: root/modules/extra/m_mysql.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'modules/extra/m_mysql.cpp')
-rw-r--r--modules/extra/m_mysql.cpp15
1 files changed, 11 insertions, 4 deletions
diff --git a/modules/extra/m_mysql.cpp b/modules/extra/m_mysql.cpp
index 7a7adc943..2ccc36d76 100644
--- a/modules/extra/m_mysql.cpp
+++ b/modules/extra/m_mysql.cpp
@@ -59,7 +59,8 @@ struct QueryResult
/** A MySQL result
*/
-class MySQLResult : public Result
+class MySQLResult
+ : public Result
{
MYSQL_RES *res = nullptr;
@@ -107,7 +108,8 @@ public:
/** A MySQL connection, there can be multiple
*/
-class MySQLService : public Provider
+class MySQLService
+ : public Provider
{
std::map<Anope::string, std::set<Anope::string> > active_schema;
@@ -156,7 +158,9 @@ public:
/** The SQL thread used to execute queries
*/
-class DispatcherThread : public Thread, public Condition
+class DispatcherThread
+ : public Thread
+ , public Condition
{
public:
DispatcherThread() : Thread() { }
@@ -166,7 +170,10 @@ public:
class ModuleSQL;
static ModuleSQL *me;
-class ModuleSQL : public Module, public Pipe
+
+class ModuleSQL
+ : public Module
+ , public Pipe
{
/* SQL connections */
std::map<Anope::string, MySQLService *> MySQLServices;