From 45e56e5ee1bdb9e169be957e21a4f7b536e417ff Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Thu, 1 Dec 2022 05:14:58 +0000 Subject: Yet more stylistic fixes. --- src/modules/extra/m_pgsql.cpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'src/modules/extra/m_pgsql.cpp') diff --git a/src/modules/extra/m_pgsql.cpp b/src/modules/extra/m_pgsql.cpp index 980ccd627..912b4f18c 100644 --- a/src/modules/extra/m_pgsql.cpp +++ b/src/modules/extra/m_pgsql.cpp @@ -79,7 +79,9 @@ class ReconnectTimer final private: ModulePgSQL* mod; public: - ReconnectTimer(ModulePgSQL* m) : Timer(5, false), mod(m) + ReconnectTimer(ModulePgSQL* m) + : Timer(5, false) + , mod(m) { } bool Tick() override; @@ -89,7 +91,11 @@ struct QueueItem final { SQL::Query* c; std::string q; - QueueItem(SQL::Query* C, const std::string& Q) : c(C), q(Q) {} + QueueItem(SQL::Query* C, const std::string& Q) + : c(C) + , q(Q) + { + } }; /** PgSQLresult is a subclass of the mostly-pure-virtual class SQLresult. @@ -422,7 +428,7 @@ restart: ServerInstance->Logs.Debug(MODNAME, "Executing PostgreSQL query: " + q); if (qinprog.q.empty()) { - DoQuery(QueueItem(req,q)); + DoQuery(QueueItem(req, q)); } else { -- cgit v1.3.1-10-gc9f91