mirror of
https://github.com/anope/anope.git
synced 2026-07-08 20:33:12 +02:00
Improve the layout of types that inherit from another type.
This commit is contained in:
@@ -11,7 +11,8 @@
|
||||
|
||||
#include "module.h"
|
||||
|
||||
class CommandMSList : public Command
|
||||
class CommandMSList
|
||||
: public Command
|
||||
{
|
||||
public:
|
||||
CommandMSList(Module *creator) : Command(creator, "memoserv/list", 0, 2)
|
||||
@@ -65,7 +66,8 @@ public:
|
||||
|
||||
if (!param.empty() && isdigit(param[0]))
|
||||
{
|
||||
class MemoListCallback : public NumberList
|
||||
class MemoListCallback
|
||||
: public NumberList
|
||||
{
|
||||
ListFormatter &list;
|
||||
CommandSource &source;
|
||||
@@ -149,7 +151,8 @@ public:
|
||||
}
|
||||
};
|
||||
|
||||
class MSList : public Module
|
||||
class MSList
|
||||
: public Module
|
||||
{
|
||||
CommandMSList commandmslist;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user