1
0
mirror of https://github.com/anope/anope.git synced 2026-06-26 18:56:39 +02:00

Improve the layout of types that inherit from another type.

This commit is contained in:
Sadie Powell
2024-01-23 15:28:23 +00:00
parent 398d674cf4
commit a6a0f6c447
232 changed files with 1648 additions and 798 deletions
+6 -3
View File
@@ -9,12 +9,14 @@
#include "module.h"
#include "modules/sql.h"
struct SQLOper : Oper
struct SQLOper
: Oper
{
SQLOper(const Anope::string &n, OperType *o) : Oper(n, o) { }
};
class SQLOperResult : public SQL::Interface
class SQLOperResult
: public SQL::Interface
{
Reference<User> user;
@@ -123,7 +125,8 @@ public:
}
};
class ModuleSQLOper : public Module
class ModuleSQLOper
: public Module
{
Anope::string engine;
Anope::string query;