aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules/extra/m_mysql.cpp
diff options
context:
space:
mode:
authorGravatar Sadie Powell2022-01-25 13:59:42 +0000
committerGravatar Sadie Powell2022-01-25 14:02:36 +0000
commitd79147e7afe2eca34780c607f78b11f8b3dd017d (patch)
treea3f9a145dd53f9c1c268ac9b521ac907b802eab0 /src/modules/extra/m_mysql.cpp
parentFix a few Doxygen comment errors. (diff)
downloadinspircd++-d79147e7afe2eca34780c607f78b11f8b3dd017d.tar.gz
inspircd++-d79147e7afe2eca34780c607f78b11f8b3dd017d.tar.bz2
inspircd++-d79147e7afe2eca34780c607f78b11f8b3dd017d.zip
Abolish the infernal space before accessibility keywords.
Diffstat (limited to 'src/modules/extra/m_mysql.cpp')
-rw-r--r--src/modules/extra/m_mysql.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/modules/extra/m_mysql.cpp b/src/modules/extra/m_mysql.cpp
index 23bbdce3d..62d411f7a 100644
--- a/src/modules/extra/m_mysql.cpp
+++ b/src/modules/extra/m_mysql.cpp
@@ -126,7 +126,7 @@ typedef std::deque<ResultQueueItem> ResultQueue;
class ModuleSQL final
: public Module
{
- public:
+public:
DispatcherThread* Dispatcher = nullptr;
QueryQueue qq; // MUST HOLD MUTEX
ResultQueue rq; // MUST HOLD MUTEX
@@ -142,9 +142,9 @@ class ModuleSQL final
class DispatcherThread final
: public SocketThread
{
- private:
+private:
ModuleSQL* const Parent;
- public:
+public:
DispatcherThread(ModuleSQL* CreatorModule) : Parent(CreatorModule) { }
void OnStart() override;
void OnNotify() override;
@@ -155,7 +155,7 @@ class DispatcherThread final
class MySQLresult final
: public SQL::Result
{
- public:
+public:
SQL::Error err;
int currentrow = 0;
int rows = 0;
@@ -265,7 +265,7 @@ class MySQLresult final
class SQLConnection final
: public SQL::Provider
{
- private:
+private:
bool EscapeString(SQL::Query* query, const std::string& in, std::string& out)
{
// In the worst case each character may need to be encoded as using two bytes and one
@@ -290,7 +290,7 @@ class SQLConnection final
return true;
}
- public:
+public:
std::shared_ptr<ConfigTag> config;
MYSQL* connection = nullptr;
std::mutex lock;