1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 18:13:12 +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
@@ -12,7 +12,8 @@
#include "module.h"
#include "modules/cs_mode.h"
class CommandCSSetKeepTopic : public Command
class CommandCSSetKeepTopic
: public Command
{
public:
CommandCSSetKeepTopic(Module *creator, const Anope::string &cname = "chanserv/set/keeptopic") : Command(creator, cname, 2, 2)
@@ -76,7 +77,8 @@ public:
}
};
class CommandCSTopic : public Command
class CommandCSTopic
: public Command
{
ExtensibleRef<bool> topiclock;
@@ -202,7 +204,8 @@ public:
}
};
class CSTopic : public Module
class CSTopic
: public Module
{
CommandCSTopic commandcstopic;
CommandCSSetKeepTopic commandcssetkeeptopic;