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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user