summaryrefslogtreecommitdiff
path: root/src/modules
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules')
-rw-r--r--src/modules/m_spanningtree/commands.h12
-rw-r--r--src/modules/m_spanningtree/servercommand.h10
2 files changed, 11 insertions, 11 deletions
diff --git a/src/modules/m_spanningtree/commands.h b/src/modules/m_spanningtree/commands.h
index 96cb42563..d0465a447 100644
--- a/src/modules/m_spanningtree/commands.h
+++ b/src/modules/m_spanningtree/commands.h
@@ -26,17 +26,17 @@
class CommandRConnect : public Command
{
public:
- CommandRConnect(Module* Creator);
- CmdResult Handle (const std::vector<std::string>& parameters, User *user);
- RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters);
+ CommandRConnect(Module* Creator);
+ CmdResult Handle(const std::vector<std::string>& parameters, User* user);
+ RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters);
};
class CommandRSQuit : public Command
{
public:
- CommandRSQuit(Module* Creator);
- CmdResult Handle (const std::vector<std::string>& parameters, User *user);
- RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters);
+ CommandRSQuit(Module* Creator);
+ CmdResult Handle(const std::vector<std::string>& parameters, User* user);
+ RouteDescriptor GetRouting(User* user, const std::vector<std::string>& parameters);
};
class CommandMap : public Command
diff --git a/src/modules/m_spanningtree/servercommand.h b/src/modules/m_spanningtree/servercommand.h
index 2fa964232..2bd77fc84 100644
--- a/src/modules/m_spanningtree/servercommand.h
+++ b/src/modules/m_spanningtree/servercommand.h
@@ -45,12 +45,12 @@ class UserOnlyServerCommand : public ServerCommand
: ServerCommand(Creator, Name, MinPara, MaxPara) { }
CmdResult Handle(User* user, std::vector<std::string>& parameters)
- {
- RemoteUser* remoteuser = IS_REMOTE(user);
+ {
+ RemoteUser* remoteuser = IS_REMOTE(user);
if (!remoteuser)
return CMD_INVALID;
return static_cast<T*>(this)->HandleRemote(remoteuser, parameters);
- }
+ }
};
/** Base class for server-to-server command handlers which are only valid if their source is a server.
@@ -64,12 +64,12 @@ class ServerOnlyServerCommand : public ServerCommand
: ServerCommand(Creator, Name, MinPara, MaxPara) { }
CmdResult Handle(User* user, std::vector<std::string>& parameters)
- {
+ {
if (!IS_SERVER(user))
return CMD_INVALID;
TreeServer* server = Utils->FindServer(user->server);
return static_cast<T*>(this)->HandleServer(server, parameters);
- }
+ }
};
class ServerCommandManager