diff options
| author | 2022-01-25 13:59:42 +0000 | |
|---|---|---|
| committer | 2022-01-25 14:02:36 +0000 | |
| commit | d79147e7afe2eca34780c607f78b11f8b3dd017d (patch) | |
| tree | a3f9a145dd53f9c1c268ac9b521ac907b802eab0 /src/modules/m_spanningtree/servercommand.h | |
| parent | Fix a few Doxygen comment errors. (diff) | |
Abolish the infernal space before accessibility keywords.
Diffstat (limited to 'src/modules/m_spanningtree/servercommand.h')
| -rw-r--r-- | src/modules/m_spanningtree/servercommand.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/modules/m_spanningtree/servercommand.h b/src/modules/m_spanningtree/servercommand.h index d530ad666..cac072cc2 100644 --- a/src/modules/m_spanningtree/servercommand.h +++ b/src/modules/m_spanningtree/servercommand.h @@ -26,7 +26,7 @@ class ProtocolException final : public ModuleException { - public: +public: ProtocolException(const std::string& msg) : ModuleException((Module*)Utils->Creator, "Protocol violation: " + msg) { @@ -38,7 +38,7 @@ class ProtocolException final class ServerCommand : public CommandBase { - public: +public: ServerCommand(Module* Creator, const std::string& Name, unsigned int MinPara = 0, unsigned int MaxPara = 0); /** Register this object in the ServerCommandManager @@ -65,7 +65,7 @@ template <class T> class UserOnlyServerCommand : public ServerCommand { - public: +public: UserOnlyServerCommand(Module* Creator, const std::string& Name, unsigned int MinPara = 0, unsigned int MaxPara = 0) : ServerCommand(Creator, Name, MinPara, MaxPara) { } @@ -85,7 +85,7 @@ template <class T> class ServerOnlyServerCommand : public ServerCommand { - public: +public: ServerOnlyServerCommand(Module* Creator, const std::string& Name, unsigned int MinPara = 0, unsigned int MaxPara = 0) : ServerCommand(Creator, Name, MinPara, MaxPara) { } @@ -103,7 +103,7 @@ class ServerCommandManager final typedef std::unordered_map<std::string, ServerCommand*> ServerCommandMap; ServerCommandMap commands; - public: +public: ServerCommand* GetHandler(const std::string& command) const; bool AddCommand(ServerCommand* cmd); }; |
